threads / patch / 14483

patchparse-options.c: make check_typos() static

Subject: [PATCH] parse-options.c: make check_typos() static

## tl;dr

One message between Jul 16, 2008 and Jul 16, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Nanako Shiraishi· Jul 16, 2008, 10:42 UTC · lore
This function is not used by any other file.
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
---
 parse-options.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to parse-options.c +1 −1
diff --git a/parse-options.c b/parse-options.c
index 2fd5edb..987b015 100644
--- a/parse-options.c
+++ b/parse-options.c
@@ -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;
-- 
1.5.6.3

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

← back to recent threads