summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-05 22:26:12 -0700
committerJunio C Hamano <gitster@pobox.com>2012-06-05 22:26:12 -0700
commit0d316f0ceff1c416c25327f40bc5fbdded98a01a (patch)
tree541e06b3a63718bf76898ef296336ace85543539 /dir.c
parent589570dbe7d291e73defea367babb5400a87e9f0 (diff)
downloadgit-0d316f0ceff1c416c25327f40bc5fbdded98a01a.tar.gz
dir.c: make excluded() file scope static
Now there no longer is external callers of this interface, so we can make it static. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 7ab7fc5c22..79e43377ad 100644
--- a/dir.c
+++ b/dir.c
@@ -560,7 +560,7 @@ int excluded_from_list(const char *pathname,
return -1; /* undecided */
}
-int excluded(struct dir_struct *dir, const char *pathname, int *dtype_p)
+static int excluded(struct dir_struct *dir, const char *pathname, int *dtype_p)
{
int pathlen = strlen(pathname);
int st;