dir.c: make git_fnmatch() not inline

Now that it calls a static inline function, it cannot be an inline definition with external linkage. Remove inline and make it an external definition. Signed-off-by: Charles Bailey <cbailey32@bloomberg.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Charles Bailey committed Mar 29, 2014 at 15:39 UTC 1f26ce615ab4b74cdd018e5d543138c2d188c3d8
1 file changed +3 -3
dir.c
+3 -3
@@ -52,9 +52,9 @@ int fnmatch_icase(const char *pattern, const char *string, int flags)
52 return fnmatch(pattern, string, flags | (ignore_case ? FNM_CASEFOLD : 0));
53 }
54
55 -inline int git_fnmatch(const struct pathspec_item *item,
56 - const char *pattern, const char *string,
57 - int prefix)
55 +int git_fnmatch(const struct pathspec_item *item,
56 + const char *pattern, const char *string,
57 + int prefix)
58 {
59 if (prefix > 0) {
60 if (ps_strncmp(item, pattern, string, prefix))