summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-06-14 18:07:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-15 19:56:22 (GMT)
commitf1c985da05c136414c10f034cdc09bdb6939cb8f (patch)
tree1f0abba0d7afeee3d319b46db74b34cf8a61d0a0 /config.h
parente67a57fc5187f93ced9631edf80fc09eefb3fed9 (diff)
downloadgit-f1c985da05c136414c10f034cdc09bdb6939cb8f.zip
git-f1c985da05c136414c10f034cdc09bdb6939cb8f.tar.gz
git-f1c985da05c136414c10f034cdc09bdb6939cb8f.tar.bz2
config: remove git_config_iter
Since there is no implementation of the function 'git_config_iter', let's stop exporting it and remove the prototype from config.h. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/config.h b/config.h
index f7f8b66..c70599b 100644
--- a/config.h
+++ b/config.h
@@ -165,7 +165,6 @@ extern int git_configset_get_pathname(struct config_set *cs, const char *key, co
extern int git_config_get_value(const char *key, const char **value);
extern const struct string_list *git_config_get_value_multi(const char *key);
extern void git_config_clear(void);
-extern void git_config_iter(config_fn_t fn, void *data);
extern int git_config_get_string_const(const char *key, const char **dest);
extern int git_config_get_string(const char *key, char **dest);
extern int git_config_get_int(const char *key, int *dest);