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 /include/git2/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 'include/git2/config.h')
-rw-r--r-- | include/git2/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/config.h b/include/git2/config.h index f6fc74ee1..43bc19412 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_backend_iter git_config_backend_iter; typedef enum { GIT_CVAR_FALSE = 0, |