From 6a3cd3e334dbff2be84a994a9f11b8bb3ab2a7a4 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sun, 14 Sep 2014 21:41:04 +0200 Subject: [PATCH] Make inlined functions static Clang apparently chokes on non-static inline functions, and they were not used from other files anyway. --- parser.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parser.c b/parser.c index 481e7b2..c5b79fa 100644 --- a/parser.c +++ b/parser.c @@ -87,7 +87,7 @@ SkipWhite (char **p) return *p != start; } -inline int +static inline int Match (char *pattern, char **ptr) { char *p = pattern, *s = *ptr; @@ -99,7 +99,7 @@ Match (char *pattern, char **ptr) return 0; // no match, no ptr update } -inline int +static inline int Word (char *pattern, char **p) { if(Match(pattern, p)) return 1; -- 1.7.0.4