diff options
author | Vicent Martà <tanoku@gmail.com> | 2011-09-19 07:07:59 +0400 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2011-09-19 07:07:59 +0400 |
commit | 71a4c1f16ffc71bced673c5883d5ea621cc8d24f (patch) | |
tree | c8b035c6d1fc55f13f8c2213c9be226137fe077a /src/odb_pack.c | |
parent | a8076074702d336b5d9f0103c8420c17bf7a6b4c (diff) | |
parent | d568d5856bcc4f283ae1dda0e27d680ee22fb067 (diff) |
Merge pull request #384 from kiryl/warnings
Add more -W flags to CFLAGS
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r-- | src/odb_pack.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c index 1867ada96..4607fb74a 100644 --- a/src/odb_pack.c +++ b/src/odb_pack.c @@ -363,7 +363,7 @@ int pack_backend__read_header(git_rawobj *obj, git_odb_backend *backend, const g } */ -int pack_backend__read(void **buffer_p, size_t *len_p, git_otype *type_p, git_odb_backend *backend, const git_oid *oid) +static int pack_backend__read(void **buffer_p, size_t *len_p, git_otype *type_p, git_odb_backend *backend, const git_oid *oid) { struct git_pack_entry e; git_rawobj raw; @@ -382,7 +382,7 @@ int pack_backend__read(void **buffer_p, size_t *len_p, git_otype *type_p, git_od return GIT_SUCCESS; } -int pack_backend__read_prefix( +static int pack_backend__read_prefix( git_oid *out_oid, void **buffer_p, size_t *len_p, @@ -421,13 +421,13 @@ int pack_backend__read_prefix( return GIT_SUCCESS; } -int pack_backend__exists(git_odb_backend *backend, const git_oid *oid) +static int pack_backend__exists(git_odb_backend *backend, const git_oid *oid) { struct git_pack_entry e; return pack_entry_find(&e, (struct pack_backend *)backend, oid) == GIT_SUCCESS; } -void pack_backend__free(git_odb_backend *_backend) +static void pack_backend__free(git_odb_backend *_backend) { struct pack_backend *backend; size_t i; |