From: René Scharfe Date: Tue, 10 Apr 2012 19:10:26 +0000 (+0200) Subject: submodule: fix prototype of gitmodules_config X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c2df7585efcced5833891938fe01c24c9fb36dd7;p=git.git submodule: fix prototype of gitmodules_config Add void to make it match its definition in submodule.c. Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- diff --git a/submodule.h b/submodule.h index 80e04f3c8..9c5e5c0c3 100644 --- a/submodule.h +++ b/submodule.h @@ -13,7 +13,7 @@ enum { void set_diffopt_flags_from_submodule_config(struct diff_options *diffopt, const char *path); int submodule_config(const char *var, const char *value, void *cb); -void gitmodules_config(); +void gitmodules_config(void); int parse_submodule_config_option(const char *var, const char *value); void handle_ignore_submodules_arg(struct diff_options *diffopt, const char *); int parse_fetch_recurse_submodules_arg(const char *opt, const char *arg);