From 4d292e63467d8cfcdb6dca4cff88fd6f9ff100b2 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sun, 26 Nov 2017 18:27:09 +0300 Subject: [PATCH] mhd_str.c: additional fix for size-optimized builds, silenced compiler warnings --- src/microhttpd/mhd_str.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/microhttpd/mhd_str.c b/src/microhttpd/mhd_str.c index cb86ae80..d0b03ead 100644 --- a/src/microhttpd/mhd_str.c +++ b/src/microhttpd/mhd_str.c @@ -50,6 +50,8 @@ */ #ifdef INLINE_FUNC + +#if 0 /* Disable unused functions. */ /** * Check whether character is lower case letter in US-ASCII * @@ -61,6 +63,7 @@ isasciilower (char c) { return (c >= 'a') && (c <= 'z'); } +#endif /* Disable unused functions. */ /** @@ -76,6 +79,7 @@ isasciiupper (char c) } +#if 0 /* Disable unused functions. */ /** * Check whether character is letter in US-ASCII * @@ -87,6 +91,7 @@ isasciialpha (char c) { return isasciilower (c) || isasciiupper (c); } +#endif /* Disable unused functions. */ /**