Subject: [PATCH] submodule: fix prototype of gitmodules_config

From: René Scharfe <[email-masked]>
Date: Tue, 10 Apr 2012 21:10:26 +0200

Add void to make it match its definition in submodule.c.

Signed-off-by: Rene Scharfe <[email-masked]>
---
 submodule.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/submodule.h b/submodule.h
index 80e04f3..9c5e5c0 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);
-- 
1.7.10