Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Cloning from a repo without "current branch"
[gitweb.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index eb7fc922d3b3a1cde8e417e62d87b1db1b3001bd..7628ee97d9137c3cc2eae2e626fc708a88dc444a 100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-959,7
+959,7
@@
int check_sha1_signature(const unsigned char *sha1, void *map, unsigned long siz
return hashcmp(sha1, real_sha1) ? -1 : 0;
}
-void *map_sha1_file(const unsigned char *sha1, unsigned long *size)
+
static
void *map_sha1_file(const unsigned char *sha1, unsigned long *size)
{
struct stat st;
void *map;