]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-compat-util.h
config: add ctx arg to config_fn_t
[thirdparty/git.git] / git-compat-util.h
index 5b2b99c17c564c5a5904442416e5d7d13f7b0568..14e8aacb957ddd1a300a639d23e56b74ab87ce20 100644 (file)
@@ -440,8 +440,10 @@ typedef uintmax_t timestamp_t;
 #endif
 
 #ifndef platform_core_config
+struct config_context;
 static inline int noop_core_config(const char *var UNUSED,
                                   const char *value UNUSED,
+                                  const struct config_context *ctx UNUSED,
                                   void *cb UNUSED)
 {
        return 0;