aboutsummaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-10-14 12:45:45 +0200
committerJunio C Hamano <junkio@cox.net>2006-10-14 11:49:59 -0700
commit8f9777801d09b195e1820061914ec27fcd5975c8 (patch)
tree63f8715ad6dbfcb6e057a9d17c67195733ac4fcd /sha1_file.c
parentabdc3fc84216a9334f40f3b7ce13e20a825697d0 (diff)
downloadgit-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 'sha1_file.c')
-rw-r--r--sha1_file.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sha1_file.c b/sha1_file.c
index 6c64ec41c..d111be74a 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -1347,12 +1347,9 @@ void *read_object_with_reference(const unsigned char *sha1,
}
}
-char *write_sha1_file_prepare(void *buf,
- unsigned long len,
- const char *type,
- unsigned char *sha1,
- unsigned char *hdr,
- int *hdrlen)
+static char *write_sha1_file_prepare(void *buf, unsigned long len,
+ const char *type, unsigned char *sha1,
+ unsigned char *hdr, int *hdrlen)
{
SHA_CTX c;