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>2010-01-12 09:27:31 +0300
committerJunio C Hamano <gitster@pobox.com>2010-01-12 12:06:08 +0300
commit61b97df7d9da21acbd8179e6700f35c8366df9ff (patch)
tree887a6ebac9556631ff5951d03d7fe302a35418e3 /entry.c
parent83e41e2e61f535d5b432437d4e8ac89c710fc482 (diff)
entry.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'entry.c')
-rw-r--r--entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/entry.c b/entry.c
index 06d24f14c6..55b988e22b 100644
--- a/entry.c
+++ b/entry.c
@@ -179,7 +179,7 @@ static int write_entry(struct cache_entry *ce, char *path, const struct checkout
* This is like 'lstat()', except it refuses to follow symlinks
* in the path, after skipping "skiplen".
*/
-int check_path(const char *path, int len, struct stat *st, int skiplen)
+static int check_path(const char *path, int len, struct stat *st, int skiplen)
{
const char *slash = path + len;