summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-13 08:42:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-06-13 09:02:10 (GMT)
commit4175e9e3a8734be1e96e385b0fa2428b86ed5809 (patch)
treeeb9ef1b9f3f22a1d21b2918be813c7723b412755 /sha1_file.c
parentb79d18c92d9f4841a6a1a29b7b2373a8ff9871e1 (diff)
downloadgit-4175e9e3a8734be1e96e385b0fa2428b86ed5809.zip
git-4175e9e3a8734be1e96e385b0fa2428b86ed5809.tar.gz
git-4175e9e3a8734be1e96e385b0fa2428b86ed5809.tar.bz2
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 eb7fc92..7628ee9 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;