summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-13 01:42:05 -0700
committerJunio C Hamano <gitster@pobox.com>2007-06-13 02:02:10 -0700
commit4175e9e3a8734be1e96e385b0fa2428b86ed5809 (patch)
treeeb9ef1b9f3f22a1d21b2918be813c7723b412755 /sha1_file.c
parentb79d18c92d9f4841a6a1a29b7b2373a8ff9871e1 (diff)
downloadgit-4175e9e3a8734be1e96e385b0fa2428b86ed5809.tar.gz
More static
There still are quite a few symbols that ought to be static. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_file.c')
-rw-r--r--sha1_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c
index eb7fc922d3..7628ee97d9 100644
--- 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;