summaryrefslogtreecommitdiff
path: root/include/git2/config.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-08-08 14:39:32 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-08-08 14:39:32 +0200
commiteba7399251cfa95d9346b9b41ca78dc5d43a840d (patch)
tree60c186b774d8ee0f1130e043366a33edcb0ec5dc /include/git2/config.h
parent4efa32903adf131631d283c914e0a5bf29c49e4d (diff)
downloadlibgit2-eba7399251cfa95d9346b9b41ca78dc5d43a840d.tar.gz
config: move next() and free() into the iterator
Like we have in the references iterator, next and free belong in the iterator itself.
Diffstat (limited to 'include/git2/config.h')
-rw-r--r--include/git2/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/config.h b/include/git2/config.h
index a0dc11bb1..950312548 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -61,7 +61,7 @@ typedef struct {
} git_config_entry;
typedef int (*git_config_foreach_cb)(const git_config_entry *, void *);
-typedef struct git_config_backend_iter git_config_backend_iter;
+typedef struct git_config_iterator git_config_iterator;
typedef enum {
GIT_CVAR_FALSE = 0,