diff options
author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | 2006-10-14 12:45:45 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-10-14 11:49:59 -0700 |
commit | 8f9777801d09b195e1820061914ec27fcd5975c8 (patch) | |
tree | 63f8715ad6dbfcb6e057a9d17c67195733ac4fcd /cache.h | |
parent | abdc3fc84216a9334f40f3b7ce13e20a825697d0 (diff) | |
download | git-8f9777801d09b195e1820061914ec27fcd5975c8.tar.gz git-8f9777801d09b195e1820061914ec27fcd5975c8.tar.xz |
Make write_sha1_file_prepare() static
There are no callers of write_sha1_file_prepare() left outside of
sha1_file.c, so make it static.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -247,12 +247,6 @@ extern void * unpack_sha1_file(void *map, unsigned long mapsize, char *type, uns extern void * read_sha1_file(const unsigned char *sha1, char *type, unsigned long *size); extern int hash_sha1_file(void *buf, unsigned long len, const char *type, unsigned char *sha1); extern int write_sha1_file(void *buf, unsigned long len, const char *type, unsigned char *return_sha1); -extern char *write_sha1_file_prepare(void *buf, - unsigned long len, - const char *type, - unsigned char *sha1, - unsigned char *hdr, - int *hdrlen); extern int check_sha1_signature(const unsigned char *sha1, void *buf, unsigned long size, const char *type); |