Skip to content

Commit

Permalink
Make packfile_unpack_compressed a private API
Browse files Browse the repository at this point in the history
  • Loading branch information
pmq20 committed Jan 13, 2016
1 parent 700f0af commit b644e22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/pack.c
Expand Up @@ -21,7 +21,7 @@ GIT__USE_OIDMAP

static int packfile_open(struct git_pack_file *p);
static git_off_t nth_packed_object_offset(const struct git_pack_file *p, uint32_t n);
int packfile_unpack_compressed(
static int packfile_unpack_compressed(
git_rawobj *obj,
struct git_pack_file *p,
git_mwindow **w_curs,
Expand Down Expand Up @@ -843,7 +843,7 @@ void git_packfile_stream_free(git_packfile_stream *obj)
inflateEnd(&obj->zstream);
}

int packfile_unpack_compressed(
static int packfile_unpack_compressed(
git_rawobj *obj,
struct git_pack_file *p,
git_mwindow **w_curs,
Expand Down
7 changes: 0 additions & 7 deletions src/pack.h
Expand Up @@ -138,13 +138,6 @@ int git_packfile_resolve_header(
git_off_t offset);

int git_packfile_unpack(git_rawobj *obj, struct git_pack_file *p, git_off_t *obj_offset);
int packfile_unpack_compressed(
git_rawobj *obj,
struct git_pack_file *p,
git_mwindow **w_curs,
git_off_t *curpos,
size_t size,
git_otype type);

int git_packfile_stream_open(git_packfile_stream *obj, struct git_pack_file *p, git_off_t curpos);
ssize_t git_packfile_stream_read(git_packfile_stream *obj, void *buffer, size_t len);
Expand Down

0 comments on commit b644e22

Please sign in to comment.