aboutsummaryrefslogtreecommitdiff
path: root/parse-options.c
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2008-07-16 19:42:18 +0900
committerJunio C Hamano <gitster@pobox.com>2008-07-16 08:50:36 -0700
commit1121a8786e8851cc9d03cb8142c0ecadd17221f6 (patch)
tree22d1e81f0c5b02b678449368f8e29b149aecbcda /parse-options.c
parentcb2a1cc29864e0bce16b3d5e6dbde987aa57cef8 (diff)
downloadgit-1121a8786e8851cc9d03cb8142c0ecadd17221f6.tar.gz
git-1121a8786e8851cc9d03cb8142c0ecadd17221f6.tar.xz
parse-options.c: make check_typos() static
This function is not used by any other file. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.c')
-rw-r--r--parse-options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-options.c b/parse-options.c
index 2fd5edbf5..987b01571 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;