summaryrefslogtreecommitdiff
path: root/parse-options.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-11 22:28:45 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-12 01:06:08 -0800
commit41064ebc4920fadb6afafe5f09865d2558921c00 (patch)
treed11e3c0bf839b1a3c3bae90f2f73c0a58d33db78 /parse-options.c
parent61b97df7d9da21acbd8179e6700f35c8366df9ff (diff)
downloadgit-41064ebc4920fadb6afafe5f09865d2558921c00.tar.gz
parse-options.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse-options.c')
-rw-r--r--parse-options.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/parse-options.c b/parse-options.c
index f5594114ed..7bbed5f3e2 100644
--- a/parse-options.c
+++ b/parse-options.c
@@ -3,6 +3,9 @@
#include "cache.h"
#include "commit.h"
+static int parse_options_usage(const char * const *usagestr,
+ const struct option *opts);
+
#define OPT_SHORT 1
#define OPT_UNSET 2
@@ -560,8 +563,8 @@ void usage_msg_opt(const char *msg,
usage_with_options(usagestr, options);
}
-int parse_options_usage(const char * const *usagestr,
- const struct option *opts)
+static int parse_options_usage(const char * const *usagestr,
+ const struct option *opts)
{
return usage_with_options_internal(usagestr, opts, 0);
}