diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2013-08-08 11:24:47 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-08-08 11:40:41 +0200 |
| commit | 4d588d9713bb558e45a8bdf6c41d232bb592b814 (patch) | |
| tree | e69c39a177bdc70e51984e5fbf96a36855919fc9 /src/config.h | |
| parent | a603c191578f7b33720e36e95421fcd58bc7abe4 (diff) | |
| download | libgit2-4d588d9713bb558e45a8bdf6c41d232bb592b814.tar.gz | |
Don't typedef a pointer
Make the iterator structure opaque and make sure it compiles.
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index c5c11ae14..ea150e968 100644 --- a/src/config.h +++ b/src/config.h @@ -24,6 +24,11 @@ struct git_config { git_vector files; }; +typedef struct { + git_config_backend *backend; + unsigned int flags; +} git_config_backend_iter; + 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); |
