Make write_sha1_file_prepare() static
[gitweb.git] / sha1_file.c
index 6c64ec41c3bd6e58cd8bef0fd73b0e2704335c77..d111be74a334dc2a0ce7de19df2ce7909c985450 100644 (file)
@@ -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;