Skip to contentSkip to conversation

parse-options.c: make check_typos() static

PATCH New Nanako Shiraishi 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 parse-options.c: make check_typos() static

This function is not used by any other file.

---
 parse-options.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
parse-options.c +1 -1
index 2fd5edb..987b015 100644
@@ -214,7 +214,7 @@ is_abbreviated:
 	return -2;
 }
 
-void check_typos(const char *arg, const struct option *options)
+static void check_typos(const char *arg, const struct option *options)
 {
 	if (strlen(arg) < 3)
 		return;
Signature · 5 lines
1.5.6.3

-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/