aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_str.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-11-25 19:03:24 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-11-25 19:03:24 +0300
commit8c8f7c961498aba8e891b445809a6f764c3e8046 (patch)
tree9a344fd65cd17d4cb8be7bea7dba7bdc34a5026c /src/microhttpd/mhd_str.c
parent59b4a6a00a00fcd7b985a20e0c8b303b3bf440e4 (diff)
downloadlibmicrohttpd-8c8f7c961498aba8e891b445809a6f764c3e8046.tar.gz
libmicrohttpd-8c8f7c961498aba8e891b445809a6f764c3e8046.zip
Fixed builds with size optimisation.
Diffstat (limited to 'src/microhttpd/mhd_str.c')
-rw-r--r--src/microhttpd/mhd_str.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/microhttpd/mhd_str.c b/src/microhttpd/mhd_str.c
index 0c62de52..cb86ae80 100644
--- a/src/microhttpd/mhd_str.c
+++ b/src/microhttpd/mhd_str.c
@@ -162,8 +162,10 @@ toasciiupper (char c)
162{ 162{
163 return isasciilower (c) ? (c - 'a' + 'A') : c; 163 return isasciilower (c) ? (c - 'a' + 'A') : c;
164} 164}
165#endif /* Disable unused functions. */
165 166
166 167
168#if defined(MHD_FAVOR_SMALL_CODE) /* Used only in MHD_str_to_uvalue_n_() */
167/** 169/**
168 * Convert US-ASCII decimal digit to its value. 170 * Convert US-ASCII decimal digit to its value.
169 * 171 *
@@ -178,7 +180,7 @@ todigitvalue (char c)
178 180
179 return -1; 181 return -1;
180} 182}
181#endif /* Disable unused functions. */ 183#endif /* MHD_FAVOR_SMALL_CODE */
182 184
183 185
184/** 186/**