summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2005-07-10 22:27:02 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-10 22:39:08 (GMT)
commitd5f1befca880ee64230d876535f0f98c5ea6bb86 (patch)
tree2e36388e52b6096efc93ea16d161e14870a3fc07 /cache.h
parenta5eda52bfe8f0afe3abc0c7eaceb487c2ffb7ebb (diff)
downloadgit-d5f1befca880ee64230d876535f0f98c5ea6bb86.zip
git-d5f1befca880ee64230d876535f0f98c5ea6bb86.tar.gz
git-d5f1befca880ee64230d876535f0f98c5ea6bb86.tar.bz2
[PATCH] Remove map_sha1_file
Remove map_sha1_file(), now unused. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 4d2bde5..f29afc4 100644
--- a/cache.h
+++ b/cache.h
@@ -165,7 +165,6 @@ extern char *sha1_file_name(const unsigned char *sha1);
int safe_create_leading_directories(char *path);
/* Read and unpack a sha1 file into memory, write memory to a sha1 file */
-extern void * map_sha1_file(const unsigned char *sha1, unsigned long *size);
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 *);