diff options
Diffstat (limited to 'parse-options.c')
-rw-r--r-- | parse-options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-options.c b/parse-options.c index 879ea82a31..7b061afcdc 100644 --- a/parse-options.c +++ b/parse-options.c @@ -12,14 +12,14 @@ static int parse_options_usage(struct parse_opt_ctx_t *ctx, #define OPT_SHORT 1 #define OPT_UNSET 2 -static int optbug(const struct option *opt, const char *reason) +int optbug(const struct option *opt, const char *reason) { if (opt->long_name) return error("BUG: option '%s' %s", opt->long_name, reason); return error("BUG: switch '%c' %s", opt->short_name, reason); } -static int opterror(const struct option *opt, const char *reason, int flags) +int opterror(const struct option *opt, const char *reason, int flags) { if (flags & OPT_SHORT) return error("switch `%c' %s", opt->short_name, reason); |