summaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-20 14:37:25 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-20 14:37:25 -0800
commit56eb8b43ebdb38683ff5ce395d7b5e080d402b5b (patch)
tree759ed075b90f29999e504654e3d92a470e9ab3c0 /entry.c
parentc216830f3828ae54c956a06fa6e4fdf212eecec1 (diff)
parent23418ea95f83177df19bfe18af33650b87ec2a8a (diff)
downloadgit-56eb8b43ebdb38683ff5ce395d7b5e080d402b5b.tar.gz
Merge branch 'jc/symbol-static'
* jc/symbol-static: date.c: mark file-local function static Replace parse_blob() with an explanatory comment symlinks.c: remove unused functions object.c: remove unused functions strbuf.c: remove unused function sha1_file.c: remove unused function mailmap.c: remove unused function utf8.c: mark file-local function static submodule.c: mark file-local function static quote.c: mark file-local function static remote-curl.c: mark file-local function static read-cache.c: mark file-local functions static parse-options.c: mark file-local function static entry.c: mark file-local function static http.c: mark file-local functions static pretty.c: mark file-local function static builtin-rev-list.c: mark file-local function static bisect.c: mark file-local function static
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 9d5b232781..004182c99d 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;