Git development
 help / color / mirror / Atom feed
* [PATCH] parse-options.c: make check_typos() static
@ 2008-07-16 10:42 Nanako Shiraishi
  0 siblings, 0 replies; only message in thread
From: Nanako Shiraishi @ 2008-07-16 10:42 UTC (permalink / raw)
  To: git; +Cc: gitster

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(-)

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/

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-16 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 10:42 [PATCH] parse-options.c: make check_typos() static Nanako Shiraishi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox