diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-20 14:37:25 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-20 14:37:25 -0800 |
commit | 56eb8b43ebdb38683ff5ce395d7b5e080d402b5b (patch) | |
tree | 759ed075b90f29999e504654e3d92a470e9ab3c0 /parse-options.c | |
parent | c216830f3828ae54c956a06fa6e4fdf212eecec1 (diff) | |
parent | 23418ea95f83177df19bfe18af33650b87ec2a8a (diff) | |
download | git-56eb8b43ebdb38683ff5ce395d7b5e080d402b5b.tar.gz |
Merge branch 'jc/symbol-static'
* jc/symbol-static:
date.c: mark file-local function static
Replace parse_blob() with an explanatory comment
symlinks.c: remove unused functions
object.c: remove unused functions
strbuf.c: remove unused function
sha1_file.c: remove unused function
mailmap.c: remove unused function
utf8.c: mark file-local function static
submodule.c: mark file-local function static
quote.c: mark file-local function static
remote-curl.c: mark file-local function static
read-cache.c: mark file-local functions static
parse-options.c: mark file-local function static
entry.c: mark file-local function static
http.c: mark file-local functions static
pretty.c: mark file-local function static
builtin-rev-list.c: mark file-local function static
bisect.c: mark file-local function static
Diffstat (limited to 'parse-options.c')
-rw-r--r-- | parse-options.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/parse-options.c b/parse-options.c index 10ec21fb89..d218122af5 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); } |