summaryrefslogtreecommitdiff
path: root/submodule.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2012-04-10 21:10:26 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-10 12:27:54 -0700
commitc2df7585efcced5833891938fe01c24c9fb36dd7 (patch)
tree483f818156ddb2d6ce2543a9d4494ff108191029 /submodule.h
parentGit 1.7.10 (diff)
downloadtgif-c2df7585efcced5833891938fe01c24c9fb36dd7.tar.xz
submodule: fix prototype of gitmodules_config
Add void to make it match its definition in submodule.c. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
-rw-r--r--submodule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule.h b/submodule.h
index 80e04f3c8c..9c5e5c0c30 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);