From: Junio C Hamano Date: Tue, 12 Jan 2010 06:28:45 +0000 (-0800) Subject: parse-options.c: mark file-local function static X-Git-Tag: v1.7.0-rc0~77^2~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=41064ebc4920fadb6afafe5f09865d2558921c00;p=git.git parse-options.c: mark file-local function static Signed-off-by: Junio C Hamano --- diff --git a/parse-options.c b/parse-options.c index f5594114e..7bbed5f3e 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); } diff --git a/parse-options.h b/parse-options.h index f295a2cf8..72fa36011 100644 --- a/parse-options.h +++ b/parse-options.h @@ -171,9 +171,6 @@ struct parse_opt_ctx_t { const char *prefix; }; -extern int parse_options_usage(const char * const *usagestr, - const struct option *opts); - extern void parse_options_start(struct parse_opt_ctx_t *ctx, int argc, const char **argv, const char *prefix, int flags);