diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-11-25 19:03:24 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-11-25 19:03:24 +0300 |
commit | 8c8f7c961498aba8e891b445809a6f764c3e8046 (patch) | |
tree | 9a344fd65cd17d4cb8be7bea7dba7bdc34a5026c | |
parent | 59b4a6a00a00fcd7b985a20e0c8b303b3bf440e4 (diff) | |
download | libmicrohttpd-8c8f7c961498aba8e891b445809a6f764c3e8046.tar.gz libmicrohttpd-8c8f7c961498aba8e891b445809a6f764c3e8046.zip |
Fixed builds with size optimisation.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/microhttpd/mhd_str.c | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,6 @@ | |||
1 | Sat Nov 26 18:37:00 MSK 2017 | ||
2 | Fixed build with optimisation for size. -EG | ||
3 | |||
1 | Fri Nov 24 20:14:02 CET 2017 | 4 | Fri Nov 24 20:14:02 CET 2017 |
2 | Releasing GNU libmicrohttpd 0.9.56. -CG | 5 | Releasing GNU libmicrohttpd 0.9.56. -CG |
3 | 6 | ||
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 | /** |