diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-11-09 13:19:06 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-11-09 13:19:06 -0800 |
commit | 84c99b20231e77fe1df7ea487e3dc24359cba028 (patch) | |
tree | 6dcda47c0134a8e5bc468e61bf0ee41263198482 /parse-options.c | |
parent | 92dd0a55d0f8b5c8a35425309006a4b982a4d69e (diff) | |
parent | 06a199f38b50ccea198c29216c69bb389ca23391 (diff) | |
download | git-84c99b20231e77fe1df7ea487e3dc24359cba028.tar.gz |
Merge branch 'ab/parse-options-cleanup'
Last minute fix to the update already in 'master'.
* ab/parse-options-cleanup:
parse-options.[ch]: revert use of "enum" for parse_options()
Diffstat (limited to 'parse-options.c')
-rw-r--r-- | parse-options.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/parse-options.c b/parse-options.c index 9a0484c883..fc5b43ff0b 100644 --- a/parse-options.c +++ b/parse-options.c @@ -860,11 +860,11 @@ int parse_options_end(struct parse_opt_ctx_t *ctx) return ctx->cpidx + ctx->argc; } -enum parse_opt_result parse_options(int argc, const char **argv, - const char *prefix, - const struct option *options, - const char * const usagestr[], - enum parse_opt_flags flags) +int parse_options(int argc, const char **argv, + const char *prefix, + const struct option *options, + const char * const usagestr[], + enum parse_opt_flags flags) { struct parse_opt_ctx_t ctx; struct option *real_options; |