diff options
| author | Vicent Martà <tanoku@gmail.com> | 2011-09-18 20:07:59 -0700 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2011-09-18 20:07:59 -0700 |
| commit | 71a4c1f16ffc71bced673c5883d5ea621cc8d24f (patch) | |
| tree | c8b035c6d1fc55f13f8c2213c9be226137fe077a /src/refs.c | |
| parent | a8076074702d336b5d9f0103c8420c17bf7a6b4c (diff) | |
| parent | d568d5856bcc4f283ae1dda0e27d680ee22fb067 (diff) | |
| download | libgit2-71a4c1f16ffc71bced673c5883d5ea621cc8d24f.tar.gz | |
Merge pull request #384 from kiryl/warnings
Add more -W flags to CFLAGS
Diffstat (limited to 'src/refs.c')
| -rw-r--r-- | src/refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refs.c b/src/refs.c index 7cfbe557f..bc8827b46 100644 --- a/src/refs.c +++ b/src/refs.c @@ -1548,7 +1548,7 @@ int git_reference_foreach(git_repository *repo, unsigned int list_flags, int (*c return git_futils_direach(refs_path, GIT_PATH_MAX, _dirent_loose_listall, &data); } -int cb__reflist_add(const char *ref, void *data) +static int cb__reflist_add(const char *ref, void *data) { return git_vector_insert((git_vector *)data, git__strdup(ref)); } |
