threads / patch / 30200

patchsubmodule: fix prototype of gitmodules_config

Subject: [PATCH] submodule: fix prototype of gitmodules_config

## tl;dr

One message between Apr 10, 2012 and Apr 10, 2012. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

René Scharfe· Apr 10, 2012, 19:10 UTC · lore
Add void to make it match its definition in submodule.c.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
---
 submodule.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to submodule.h +1 −1
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

← back to recent threads