aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-11-26 18:27:09 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-11-26 20:19:49 +0300
commit4d292e63467d8cfcdb6dca4cff88fd6f9ff100b2 (patch)
tree05755c669dc2f1ff644745dad73a0af700c89867
parentd178fff343cdde062179d70d53cf7f778563ab1e (diff)
downloadlibmicrohttpd-4d292e63467d8cfcdb6dca4cff88fd6f9ff100b2.tar.gz
libmicrohttpd-4d292e63467d8cfcdb6dca4cff88fd6f9ff100b2.zip
mhd_str.c: additional fix for size-optimized builds, silenced compiler warnings
-rw-r--r--src/microhttpd/mhd_str.c5
1 files changed, 5 insertions, 0 deletions
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 @@
50 */ 50 */
51 51
52#ifdef INLINE_FUNC 52#ifdef INLINE_FUNC
53
54#if 0 /* Disable unused functions. */
53/** 55/**
54 * Check whether character is lower case letter in US-ASCII 56 * Check whether character is lower case letter in US-ASCII
55 * 57 *
@@ -61,6 +63,7 @@ isasciilower (char c)
61{ 63{
62 return (c >= 'a') && (c <= 'z'); 64 return (c >= 'a') && (c <= 'z');
63} 65}
66#endif /* Disable unused functions. */
64 67
65 68
66/** 69/**
@@ -76,6 +79,7 @@ isasciiupper (char c)
76} 79}
77 80
78 81
82#if 0 /* Disable unused functions. */
79/** 83/**
80 * Check whether character is letter in US-ASCII 84 * Check whether character is letter in US-ASCII
81 * 85 *
@@ -87,6 +91,7 @@ isasciialpha (char c)
87{ 91{
88 return isasciilower (c) || isasciiupper (c); 92 return isasciilower (c) || isasciiupper (c);
89} 93}
94#endif /* Disable unused functions. */
90 95
91 96
92/** 97/**