Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-13 12:42:05 +0400
committerJunio C Hamano <gitster@pobox.com>2007-06-13 13:02:10 +0400
commit4175e9e3a8734be1e96e385b0fa2428b86ed5809 (patch)
treeeb9ef1b9f3f22a1d21b2918be813c7723b412755 /sha1_file.c
parentb79d18c92d9f4841a6a1a29b7b2373a8ff9871e1 (diff)
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;