summaryrefslogtreecommitdiff
path: root/src/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 /src/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 'src/config.h')
-rw-r--r--src/config.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/config.h b/src/config.h
index 2f7c96d7f..c5c11ae14 100644
--- a/src/config.h
+++ b/src/config.h
@@ -24,11 +24,6 @@ struct git_config {
git_vector files;
};
-struct git_config_backend_iter {
- git_config_backend *backend;
- unsigned int flags;
-};
-
extern int git_config_find_global_r(git_buf *global_config_path);
extern int git_config_find_xdg_r(git_buf *system_config_path);
extern int git_config_find_system_r(git_buf *system_config_path);