summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-04-03 12:38:38 -0700
committerJunio C Hamano <gitster@pobox.com>2014-04-03 12:38:38 -0700
commit8ba87adad637b402fb309754e213ec40b74e4f18 (patch)
treeca8a9e5b21b53890ae499ad60f636e0882c93c3e /dir.c
parent400ecca8c10520ced800b4fcdd5bdeb94bd2a556 (diff)
parent11b53902513c6d59f59594845ce53fe761f0894c (diff)
downloadgit-8ba87adad637b402fb309754e213ec40b74e4f18.tar.gz
Merge branch 'cb/aix'
* cb/aix: tests: don't rely on strerror text when testing rmdir failure dir.c: make git_fnmatch() not inline
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dir.c b/dir.c
index 99f53033ba..eb6f581270 100644
--- a/dir.c
+++ b/dir.c
@@ -54,9 +54,9 @@ int fnmatch_icase(const char *pattern, const char *string, int flags)
NULL);
}
-inline int git_fnmatch(const struct pathspec_item *item,
- const char *pattern, const char *string,
- int prefix)
+int git_fnmatch(const struct pathspec_item *item,
+ const char *pattern, const char *string,
+ int prefix)
{
if (prefix > 0) {
if (ps_strncmp(item, pattern, string, prefix))