aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2006-07-11 10:10:29 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-11 12:58:53 -0700
commit38d3874ddc5c15120c7fbbdcad26bf5478f58e98 (patch)
tree9030e174230d82c8dcaa6da66e95b2b5acfdfa32 /cache.h
parentd2216f231782b37c6379a533d4d845534651e93b (diff)
downloadgit-38d3874ddc5c15120c7fbbdcad26bf5478f58e98.tar.gz
git-38d3874ddc5c15120c7fbbdcad26bf5478f58e98.tar.xz
Make the unpacked object header functions static to sha1_file.c
Nobody else uses them, and I'm going to start changing them. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cache.h b/cache.h
index b5e3f8fa2..d433d46f2 100644
--- a/cache.h
+++ b/cache.h
@@ -219,8 +219,6 @@ int safe_create_leading_directories(char *path);
char *enter_repo(char *path, int strict);
/* Read and unpack a sha1 file into memory, write memory to a sha1 file */
-extern int unpack_sha1_header(z_stream *stream, void *map, unsigned long mapsize, void *buffer, unsigned long size);
-extern int parse_sha1_header(char *hdr, char *type, unsigned long *sizep);
extern int sha1_object_info(const unsigned char *, char *, unsigned long *);
extern void * unpack_sha1_file(void *map, unsigned long mapsize, char *type, unsigned long *size);
extern void * read_sha1_file(const unsigned char *sha1, char *type, unsigned long *size);