From 517a9d9605b571fa42029bef8165956567f78b99 Mon Sep 17 00:00:00 2001 From: David Baer Date: Wed, 9 Aug 2017 22:27:29 -0400 Subject: [PATCH] Clang compatibility --- src/format.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/format.c b/src/format.c index 33a8208..0ffd8b0 100644 --- a/src/format.c +++ b/src/format.c @@ -69,23 +69,23 @@ freeTokenizer(utf8iterator* iter) { utf8FreeIterator(iter); } -inline int +int greekChar(uint32_t ch) { return (((0x370 <= ch) && (ch <= 0x3ff)) || ((0x1f00 <= ch) && (ch <= 0x1fff))); } -inline int +int extendedPunctuation(uint32_t ch) { return ((0x2000 <= ch) && (ch <= 0x206f)); } -inline int +int latinChar(uint32_t ch) { return (ch <= 0xff) || extendedPunctuation(ch); } -inline int +int httpAt(Tokenizer tokenizer) { return ((tolower(tokenizer->txt[tokenizer->byteIndex]) == 'h') && (tolower(tokenizer->txt[tokenizer->byteIndex + 1]) == 't') &&