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>
Brandon Williams committed
Jun 14, 2017 at 11:07 UTC
f1c985da05c136414c10f034cdc09bdb6939cb8f
1 file changed
-1
config.h
-1
@@ -165,7 +165,6 @@ extern int git_configset_get_pathname(struct config_set *cs, const char *key, co
165
extern int git_config_get_value(const char *key, const char **value);
166
extern const struct string_list *git_config_get_value_multi(const char *key);
167
extern void git_config_clear(void);
168
-extern void git_config_iter(config_fn_t fn, void *data);
168
extern int git_config_get_string_const(const char *key, const char **dest);
169
extern int git_config_get_string(const char *key, char **dest);
170
extern int git_config_get_int(const char *key, int *dest);