summaryrefslogtreecommitdiff
path: root/src/odb_pack.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-08-30 17:07:41 +0200
committernulltoken <emeric.fermas@gmail.com>2013-08-30 23:19:02 +0200
commit9b4ed214f484f22f127d7398467f45affcc014af (patch)
tree1a9cedf7ae09783f0831821c248a4d1bda1a3545 /src/odb_pack.c
parenta12e069a3e904728d55dc5c92094b0a5cee63da2 (diff)
downloadlibgit2-9b4ed214f484f22f127d7398467f45affcc014af.tar.gz
odb: Code beautification
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r--src/odb_pack.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c
index 43880612a..d7abd1020 100644
--- a/src/odb_pack.c
+++ b/src/odb_pack.c
@@ -342,8 +342,9 @@ static int pack_backend__refresh(git_odb_backend *_backend)
return 0;
}
-
-static int pack_backend__read_header(size_t *len_p, git_otype *type_p, struct git_odb_backend *backend, const git_oid *oid)
+static int pack_backend__read_header(
+ size_t *len_p, git_otype *type_p,
+ struct git_odb_backend *backend, const git_oid *oid)
{
struct git_pack_entry e;
int error;
@@ -356,7 +357,9 @@ static int pack_backend__read_header(size_t *len_p, git_otype *type_p, struct gi
return git_packfile_resolve_header(len_p, type_p, e.p, e.offset);
}
-static 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;