diff options
author | Ben Straub <bs@github.com> | 2012-11-29 12:26:40 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-11-30 13:12:10 -0800 |
commit | f4fc9fdba03dd4975229243d7c1debd00c9d1f18 (patch) | |
tree | 5e8f0dfd9267ecbd373af3ec07cd2dbb4f1d1fdd /include/git2 | |
parent | bde336ea51df071de922827ae322df7b01b059ce (diff) | |
download | libgit2-f4fc9fdba03dd4975229243d7c1debd00c9d1f18.tar.gz |
Cleanup nitpicky things
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/refs.h | 2 | ||||
-rw-r--r-- | include/git2/strarray.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/git2/refs.h b/include/git2/refs.h index c92646115..af6c2f43b 100644 --- a/include/git2/refs.h +++ b/include/git2/refs.h @@ -381,7 +381,7 @@ GIT_EXTERN(int) git_reference_foreach_glob( git_repository *repo, const char *glob, unsigned int list_flags, - int (*callback)(const char *reference_name, void *payload), + git_reference_foreach_cb callback, void *payload); /** diff --git a/include/git2/strarray.h b/include/git2/strarray.h index 030567978..338d13873 100644 --- a/include/git2/strarray.h +++ b/include/git2/strarray.h @@ -19,11 +19,10 @@ GIT_BEGIN_DECL /** Array of strings */ -typedef struct _git_strarray git_strarray; -struct _git_strarray { +typedef struct git_strarray { char **strings; size_t count; -}; +} git_strarray; /** * Close a string array object |