diff options
author | Charles Bailey <cbailey32@bloomberg.net> | 2014-03-29 15:39:00 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-31 11:50:15 -0700 |
commit | 1f26ce615ab4b74cdd018e5d543138c2d188c3d8 (patch) | |
tree | ae81a7839d85b7c256be5a5a387169289d23fab9 | |
parent | Git 1.9.0 (diff) | |
download | tgif-1f26ce615ab4b74cdd018e5d543138c2d188c3d8.tar.xz |
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>
-rw-r--r-- | dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -52,9 +52,9 @@ int fnmatch_icase(const char *pattern, const char *string, int flags) return fnmatch(pattern, string, flags | (ignore_case ? FNM_CASEFOLD : 0)); } -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)) |