aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-09-30 15:33:23 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-10-01 15:04:18 +0300
commit81733d43e89dde0e69f6657d85aca9500563d44b (patch)
tree5ad2d9ddd49df8266107a00eeebf35eadef24dc8
parent53207f93b0886adddf9bc0fa6ac1ba88db7a6682 (diff)
downloadlibmicrohttpd-81733d43e89dde0e69f6657d85aca9500563d44b.tar.gz
libmicrohttpd-81733d43e89dde0e69f6657d85aca9500563d44b.zip
testcurl: fixed functions declarations
-rw-r--r--src/testcurl/perf_get.c4
-rw-r--r--src/testcurl/perf_get_concurrent.c4
-rw-r--r--src/testcurl/test_concurrent_stop.c2
-rw-r--r--src/testcurl/test_delete.c8
-rw-r--r--src/testcurl/test_get.c2
-rw-r--r--src/testcurl/test_get_chunked.c10
-rw-r--r--src/testcurl/test_get_close_keep_alive.c2
-rw-r--r--src/testcurl/test_get_iovec.c8
-rw-r--r--src/testcurl/test_get_response_cleanup.c8
-rw-r--r--src/testcurl/test_get_sendfile.c10
-rw-r--r--src/testcurl/test_iplimit.c4
-rw-r--r--src/testcurl/test_large_put.c2
-rw-r--r--src/testcurl/test_patch.c8
-rw-r--r--src/testcurl/test_post.c10
-rw-r--r--src/testcurl/test_post_loop.c10
-rw-r--r--src/testcurl/test_postform.c10
-rw-r--r--src/testcurl/test_process_arguments.c2
-rw-r--r--src/testcurl/test_process_headers.c8
-rw-r--r--src/testcurl/test_put.c8
-rw-r--r--src/testcurl/test_put_chunked.c8
-rw-r--r--src/testcurl/test_timeout.c6
21 files changed, 67 insertions, 67 deletions
diff --git a/src/testcurl/perf_get.c b/src/testcurl/perf_get.c
index 825e4778..a168205f 100644
--- a/src/testcurl/perf_get.c
+++ b/src/testcurl/perf_get.c
@@ -95,7 +95,7 @@ static unsigned long long start_time;
95 * @return current time in ms 95 * @return current time in ms
96 */ 96 */
97static unsigned long long 97static unsigned long long
98now () 98now (void)
99{ 99{
100 struct timeval tv; 100 struct timeval tv;
101 101
@@ -109,7 +109,7 @@ now ()
109 * Start the timer. 109 * Start the timer.
110 */ 110 */
111static void 111static void
112start_timer () 112start_timer (void)
113{ 113{
114 start_time = now (); 114 start_time = now ();
115} 115}
diff --git a/src/testcurl/perf_get_concurrent.c b/src/testcurl/perf_get_concurrent.c
index 203fead1..e0c70189 100644
--- a/src/testcurl/perf_get_concurrent.c
+++ b/src/testcurl/perf_get_concurrent.c
@@ -98,7 +98,7 @@ static volatile int signal_done;
98 * @return current time in ms 98 * @return current time in ms
99 */ 99 */
100static unsigned long long 100static unsigned long long
101now () 101now (void)
102{ 102{
103 struct timeval tv; 103 struct timeval tv;
104 104
@@ -112,7 +112,7 @@ now ()
112 * Start the timer. 112 * Start the timer.
113 */ 113 */
114static void 114static void
115start_timer () 115start_timer (void)
116{ 116{
117 start_time = now (); 117 start_time = now ();
118} 118}
diff --git a/src/testcurl/test_concurrent_stop.c b/src/testcurl/test_concurrent_stop.c
index d40f911b..80b49ed7 100644
--- a/src/testcurl/test_concurrent_stop.c
+++ b/src/testcurl/test_concurrent_stop.c
@@ -245,7 +245,7 @@ do_gets (void *param)
245} 245}
246 246
247 247
248pthread_t 248static pthread_t
249start_gets (int port) 249start_gets (int port)
250{ 250{
251 pthread_t tid; 251 pthread_t tid;
diff --git a/src/testcurl/test_delete.c b/src/testcurl/test_delete.c
index 91b51851..07af82e5 100644
--- a/src/testcurl/test_delete.c
+++ b/src/testcurl/test_delete.c
@@ -124,7 +124,7 @@ ahc_echo (void *cls,
124 124
125 125
126static int 126static int
127testInternalDelete () 127testInternalDelete (void)
128{ 128{
129 struct MHD_Daemon *d; 129 struct MHD_Daemon *d;
130 CURL *c; 130 CURL *c;
@@ -199,7 +199,7 @@ testInternalDelete ()
199 199
200 200
201static int 201static int
202testMultithreadedDelete () 202testMultithreadedDelete (void)
203{ 203{
204 struct MHD_Daemon *d; 204 struct MHD_Daemon *d;
205 CURL *c; 205 CURL *c;
@@ -276,7 +276,7 @@ testMultithreadedDelete ()
276 276
277 277
278static int 278static int
279testMultithreadedPoolDelete () 279testMultithreadedPoolDelete (void)
280{ 280{
281 struct MHD_Daemon *d; 281 struct MHD_Daemon *d;
282 CURL *c; 282 CURL *c;
@@ -354,7 +354,7 @@ testMultithreadedPoolDelete ()
354 354
355 355
356static int 356static int
357testExternalDelete () 357testExternalDelete (void)
358{ 358{
359 struct MHD_Daemon *d; 359 struct MHD_Daemon *d;
360 CURL *c; 360 CURL *c;
diff --git a/src/testcurl/test_get.c b/src/testcurl/test_get.c
index 09641fc5..c412d257 100644
--- a/src/testcurl/test_get.c
+++ b/src/testcurl/test_get.c
@@ -393,7 +393,7 @@ testMultithreadedPoolGet (int poll_flag)
393 393
394 394
395static int 395static int
396testExternalGet () 396testExternalGet (void)
397{ 397{
398 struct MHD_Daemon *d; 398 struct MHD_Daemon *d;
399 CURL *c; 399 CURL *c;
diff --git a/src/testcurl/test_get_chunked.c b/src/testcurl/test_get_chunked.c
index 5cc5aea9..3643a2ba 100644
--- a/src/testcurl/test_get_chunked.c
+++ b/src/testcurl/test_get_chunked.c
@@ -93,7 +93,7 @@ struct headers_check_result
93 int found_footer; 93 int found_footer;
94}; 94};
95 95
96size_t 96static size_t
97lcurl_hdr_callback (char *buffer, size_t size, size_t nitems, 97lcurl_hdr_callback (char *buffer, size_t size, size_t nitems,
98 void *userdata) 98 void *userdata)
99{ 99{
@@ -307,7 +307,7 @@ validate (struct CBC cbc, int ebase)
307 307
308 308
309static int 309static int
310testInternalGet () 310testInternalGet (void)
311{ 311{
312 struct MHD_Daemon *d; 312 struct MHD_Daemon *d;
313 CURL *c; 313 CURL *c;
@@ -389,7 +389,7 @@ testInternalGet ()
389 389
390 390
391static int 391static int
392testMultithreadedGet () 392testMultithreadedGet (void)
393{ 393{
394 struct MHD_Daemon *d; 394 struct MHD_Daemon *d;
395 CURL *c; 395 CURL *c;
@@ -472,7 +472,7 @@ testMultithreadedGet ()
472 472
473 473
474static int 474static int
475testMultithreadedPoolGet () 475testMultithreadedPoolGet (void)
476{ 476{
477 struct MHD_Daemon *d; 477 struct MHD_Daemon *d;
478 CURL *c; 478 CURL *c;
@@ -556,7 +556,7 @@ testMultithreadedPoolGet ()
556 556
557 557
558static int 558static int
559testExternalGet () 559testExternalGet (void)
560{ 560{
561 struct MHD_Daemon *d; 561 struct MHD_Daemon *d;
562 CURL *c; 562 CURL *c;
diff --git a/src/testcurl/test_get_close_keep_alive.c b/src/testcurl/test_get_close_keep_alive.c
index ef020833..169a2098 100644
--- a/src/testcurl/test_get_close_keep_alive.c
+++ b/src/testcurl/test_get_close_keep_alive.c
@@ -238,7 +238,7 @@ struct headers_check_result
238 int found_conn_keep_alive; 238 int found_conn_keep_alive;
239}; 239};
240 240
241size_t 241static size_t
242lcurl_hdr_callback (char *buffer, size_t size, size_t nitems, 242lcurl_hdr_callback (char *buffer, size_t size, size_t nitems,
243 void *userdata) 243 void *userdata)
244{ 244{
diff --git a/src/testcurl/test_get_iovec.c b/src/testcurl/test_get_iovec.c
index 4e59c56f..0a41e6d1 100644
--- a/src/testcurl/test_get_iovec.c
+++ b/src/testcurl/test_get_iovec.c
@@ -332,7 +332,7 @@ testInternalGet (bool contiguous)
332 332
333 333
334static int 334static int
335testMultithreadedGet () 335testMultithreadedGet (void)
336{ 336{
337 struct MHD_Daemon *d; 337 struct MHD_Daemon *d;
338 CURL *c; 338 CURL *c;
@@ -404,7 +404,7 @@ testMultithreadedGet ()
404 404
405 405
406static int 406static int
407testMultithreadedPoolGet () 407testMultithreadedPoolGet (void)
408{ 408{
409 struct MHD_Daemon *d; 409 struct MHD_Daemon *d;
410 CURL *c; 410 CURL *c;
@@ -477,7 +477,7 @@ testMultithreadedPoolGet ()
477 477
478 478
479static int 479static int
480testExternalGet () 480testExternalGet (void)
481{ 481{
482 struct MHD_Daemon *d; 482 struct MHD_Daemon *d;
483 CURL *c; 483 CURL *c;
@@ -660,7 +660,7 @@ testExternalGet ()
660 660
661 661
662static int 662static int
663testUnknownPortGet () 663testUnknownPortGet (void)
664{ 664{
665 struct MHD_Daemon *d; 665 struct MHD_Daemon *d;
666 const union MHD_DaemonInfo *di; 666 const union MHD_DaemonInfo *di;
diff --git a/src/testcurl/test_get_response_cleanup.c b/src/testcurl/test_get_response_cleanup.c
index fcda2349..dee0806c 100644
--- a/src/testcurl/test_get_response_cleanup.c
+++ b/src/testcurl/test_get_response_cleanup.c
@@ -153,7 +153,7 @@ ahc_echo (void *cls,
153 153
154 154
155static int 155static int
156testInternalGet () 156testInternalGet (void)
157{ 157{
158 struct MHD_Daemon *d; 158 struct MHD_Daemon *d;
159 pid_t curl; 159 pid_t curl;
@@ -201,7 +201,7 @@ testInternalGet ()
201 201
202 202
203static int 203static int
204testMultithreadedGet () 204testMultithreadedGet (void)
205{ 205{
206 struct MHD_Daemon *d; 206 struct MHD_Daemon *d;
207 pid_t curl; 207 pid_t curl;
@@ -264,7 +264,7 @@ testMultithreadedGet ()
264 264
265 265
266static int 266static int
267testMultithreadedPoolGet () 267testMultithreadedPoolGet (void)
268{ 268{
269 struct MHD_Daemon *d; 269 struct MHD_Daemon *d;
270 pid_t curl; 270 pid_t curl;
@@ -314,7 +314,7 @@ testMultithreadedPoolGet ()
314 314
315 315
316static int 316static int
317testExternalGet () 317testExternalGet (void)
318{ 318{
319 struct MHD_Daemon *d; 319 struct MHD_Daemon *d;
320 fd_set rs; 320 fd_set rs;
diff --git a/src/testcurl/test_get_sendfile.c b/src/testcurl/test_get_sendfile.c
index 2a28481f..897af245 100644
--- a/src/testcurl/test_get_sendfile.c
+++ b/src/testcurl/test_get_sendfile.c
@@ -120,7 +120,7 @@ ahc_echo (void *cls,
120 120
121 121
122static int 122static int
123testInternalGet () 123testInternalGet (void)
124{ 124{
125 struct MHD_Daemon *d; 125 struct MHD_Daemon *d;
126 CURL *c; 126 CURL *c;
@@ -191,7 +191,7 @@ testInternalGet ()
191 191
192 192
193static int 193static int
194testMultithreadedGet () 194testMultithreadedGet (void)
195{ 195{
196 struct MHD_Daemon *d; 196 struct MHD_Daemon *d;
197 CURL *c; 197 CURL *c;
@@ -263,7 +263,7 @@ testMultithreadedGet ()
263 263
264 264
265static int 265static int
266testMultithreadedPoolGet () 266testMultithreadedPoolGet (void)
267{ 267{
268 struct MHD_Daemon *d; 268 struct MHD_Daemon *d;
269 CURL *c; 269 CURL *c;
@@ -336,7 +336,7 @@ testMultithreadedPoolGet ()
336 336
337 337
338static int 338static int
339testExternalGet () 339testExternalGet (void)
340{ 340{
341 struct MHD_Daemon *d; 341 struct MHD_Daemon *d;
342 CURL *c; 342 CURL *c;
@@ -527,7 +527,7 @@ testExternalGet ()
527 527
528 528
529static int 529static int
530testUnknownPortGet () 530testUnknownPortGet (void)
531{ 531{
532 struct MHD_Daemon *d; 532 struct MHD_Daemon *d;
533 const union MHD_DaemonInfo *di; 533 const union MHD_DaemonInfo *di;
diff --git a/src/testcurl/test_iplimit.c b/src/testcurl/test_iplimit.c
index daeac0cf..1e747f0c 100644
--- a/src/testcurl/test_iplimit.c
+++ b/src/testcurl/test_iplimit.c
@@ -109,7 +109,7 @@ ahc_echo (void *cls,
109 109
110 110
111static int 111static int
112testMultithreadedGet () 112testMultithreadedGet (void)
113{ 113{
114 struct MHD_Daemon *d; 114 struct MHD_Daemon *d;
115 char buf[2048]; 115 char buf[2048];
@@ -224,7 +224,7 @@ testMultithreadedGet ()
224 224
225 225
226static int 226static int
227testMultithreadedPoolGet () 227testMultithreadedPoolGet (void)
228{ 228{
229 struct MHD_Daemon *d; 229 struct MHD_Daemon *d;
230 char buf[2048]; 230 char buf[2048];
diff --git a/src/testcurl/test_large_put.c b/src/testcurl/test_large_put.c
index 4b7fae46..8a597c28 100644
--- a/src/testcurl/test_large_put.c
+++ b/src/testcurl/test_large_put.c
@@ -168,7 +168,7 @@ struct CBC
168 size_t size; 168 size_t size;
169}; 169};
170 170
171char * 171static char *
172alloc_init (size_t buf_size) 172alloc_init (size_t buf_size)
173{ 173{
174 static const char template[] = 174 static const char template[] =
diff --git a/src/testcurl/test_patch.c b/src/testcurl/test_patch.c
index 26d9fec3..ffdbf229 100644
--- a/src/testcurl/test_patch.c
+++ b/src/testcurl/test_patch.c
@@ -157,7 +157,7 @@ setup_curl (long port,
157 157
158 158
159static int 159static int
160testInternalPut () 160testInternalPut (void)
161{ 161{
162 struct MHD_Daemon *d; 162 struct MHD_Daemon *d;
163 CURL *c; 163 CURL *c;
@@ -216,7 +216,7 @@ testInternalPut ()
216 216
217 217
218static int 218static int
219testMultithreadedPut () 219testMultithreadedPut (void)
220{ 220{
221 struct MHD_Daemon *d; 221 struct MHD_Daemon *d;
222 CURL *c; 222 CURL *c;
@@ -277,7 +277,7 @@ testMultithreadedPut ()
277 277
278 278
279static int 279static int
280testMultithreadedPoolPut () 280testMultithreadedPoolPut (void)
281{ 281{
282 struct MHD_Daemon *d; 282 struct MHD_Daemon *d;
283 CURL *c; 283 CURL *c;
@@ -339,7 +339,7 @@ testMultithreadedPoolPut ()
339 339
340 340
341static int 341static int
342testExternalPut () 342testExternalPut (void)
343{ 343{
344 struct MHD_Daemon *d; 344 struct MHD_Daemon *d;
345 CURL *c; 345 CURL *c;
diff --git a/src/testcurl/test_post.c b/src/testcurl/test_post.c
index d97839c0..f0040140 100644
--- a/src/testcurl/test_post.c
+++ b/src/testcurl/test_post.c
@@ -166,7 +166,7 @@ ahc_echo (void *cls,
166 166
167 167
168static int 168static int
169testInternalPost () 169testInternalPost (void)
170{ 170{
171 struct MHD_Daemon *d; 171 struct MHD_Daemon *d;
172 CURL *c; 172 CURL *c;
@@ -242,7 +242,7 @@ testInternalPost ()
242 242
243 243
244static int 244static int
245testMultithreadedPost () 245testMultithreadedPost (void)
246{ 246{
247 struct MHD_Daemon *d; 247 struct MHD_Daemon *d;
248 CURL *c; 248 CURL *c;
@@ -319,7 +319,7 @@ testMultithreadedPost ()
319 319
320 320
321static int 321static int
322testMultithreadedPoolPost () 322testMultithreadedPoolPost (void)
323{ 323{
324 struct MHD_Daemon *d; 324 struct MHD_Daemon *d;
325 CURL *c; 325 CURL *c;
@@ -396,7 +396,7 @@ testMultithreadedPoolPost ()
396 396
397 397
398static int 398static int
399testExternalPost () 399testExternalPost (void)
400{ 400{
401 struct MHD_Daemon *d; 401 struct MHD_Daemon *d;
402 CURL *c; 402 CURL *c;
@@ -803,7 +803,7 @@ testMultithreadedPostCancelPart (int flags)
803 803
804 804
805static int 805static int
806testMultithreadedPostCancel () 806testMultithreadedPostCancel (void)
807{ 807{
808 int result = 0; 808 int result = 0;
809 int flags; 809 int flags;
diff --git a/src/testcurl/test_post_loop.c b/src/testcurl/test_post_loop.c
index b4a22eb1..efcd5370 100644
--- a/src/testcurl/test_post_loop.c
+++ b/src/testcurl/test_post_loop.c
@@ -118,7 +118,7 @@ ahc_echo (void *cls,
118 118
119 119
120static int 120static int
121testInternalPost () 121testInternalPost (void)
122{ 122{
123 struct MHD_Daemon *d; 123 struct MHD_Daemon *d;
124 CURL *c; 124 CURL *c;
@@ -207,7 +207,7 @@ testInternalPost ()
207 207
208 208
209static int 209static int
210testMultithreadedPost () 210testMultithreadedPost (void)
211{ 211{
212 struct MHD_Daemon *d; 212 struct MHD_Daemon *d;
213 CURL *c; 213 CURL *c;
@@ -299,7 +299,7 @@ testMultithreadedPost ()
299 299
300 300
301static int 301static int
302testMultithreadedPoolPost () 302testMultithreadedPoolPost (void)
303{ 303{
304 struct MHD_Daemon *d; 304 struct MHD_Daemon *d;
305 CURL *c; 305 CURL *c;
@@ -390,7 +390,7 @@ testMultithreadedPoolPost ()
390 390
391 391
392static int 392static int
393testExternalPost () 393testExternalPost (void)
394{ 394{
395 struct MHD_Daemon *d; 395 struct MHD_Daemon *d;
396 CURL *c; 396 CURL *c;
@@ -615,7 +615,7 @@ static unsigned long long start_time;
615 * @return current time in ms 615 * @return current time in ms
616 */ 616 */
617static unsigned long long 617static unsigned long long
618now () 618now (void)
619{ 619{
620 struct timeval tv; 620 struct timeval tv;
621 621
diff --git a/src/testcurl/test_postform.c b/src/testcurl/test_postform.c
index b429777b..4fb4fe4f 100644
--- a/src/testcurl/test_postform.c
+++ b/src/testcurl/test_postform.c
@@ -174,7 +174,7 @@ ahc_echo (void *cls,
174 174
175 175
176static struct curl_httppost * 176static struct curl_httppost *
177make_form () 177make_form (void)
178{ 178{
179 struct curl_httppost *post = NULL; 179 struct curl_httppost *post = NULL;
180 struct curl_httppost *last = NULL; 180 struct curl_httppost *last = NULL;
@@ -188,7 +188,7 @@ make_form ()
188 188
189 189
190static int 190static int
191testInternalPost () 191testInternalPost (void)
192{ 192{
193 struct MHD_Daemon *d; 193 struct MHD_Daemon *d;
194 CURL *c; 194 CURL *c;
@@ -266,7 +266,7 @@ testInternalPost ()
266 266
267 267
268static int 268static int
269testMultithreadedPost () 269testMultithreadedPost (void)
270{ 270{
271 struct MHD_Daemon *d; 271 struct MHD_Daemon *d;
272 CURL *c; 272 CURL *c;
@@ -345,7 +345,7 @@ testMultithreadedPost ()
345 345
346 346
347static int 347static int
348testMultithreadedPoolPost () 348testMultithreadedPoolPost (void)
349{ 349{
350 struct MHD_Daemon *d; 350 struct MHD_Daemon *d;
351 CURL *c; 351 CURL *c;
@@ -424,7 +424,7 @@ testMultithreadedPoolPost ()
424 424
425 425
426static int 426static int
427testExternalPost () 427testExternalPost (void)
428{ 428{
429 struct MHD_Daemon *d; 429 struct MHD_Daemon *d;
430 CURL *c; 430 CURL *c;
diff --git a/src/testcurl/test_process_arguments.c b/src/testcurl/test_process_arguments.c
index d3176423..14c00aab 100644
--- a/src/testcurl/test_process_arguments.c
+++ b/src/testcurl/test_process_arguments.c
@@ -112,7 +112,7 @@ ahc_echo (void *cls,
112 112
113 113
114static int 114static int
115testExternalGet () 115testExternalGet (void)
116{ 116{
117 struct MHD_Daemon *d; 117 struct MHD_Daemon *d;
118 CURL *c; 118 CURL *c;
diff --git a/src/testcurl/test_process_headers.c b/src/testcurl/test_process_headers.c
index 0c9d6133..603b1fb6 100644
--- a/src/testcurl/test_process_headers.c
+++ b/src/testcurl/test_process_headers.c
@@ -153,7 +153,7 @@ ahc_echo (void *cls,
153 153
154 154
155static int 155static int
156testInternalGet () 156testInternalGet (void)
157{ 157{
158 struct MHD_Daemon *d; 158 struct MHD_Daemon *d;
159 CURL *c; 159 CURL *c;
@@ -224,7 +224,7 @@ testInternalGet ()
224 224
225 225
226static int 226static int
227testMultithreadedGet () 227testMultithreadedGet (void)
228{ 228{
229 struct MHD_Daemon *d; 229 struct MHD_Daemon *d;
230 CURL *c; 230 CURL *c;
@@ -296,7 +296,7 @@ testMultithreadedGet ()
296 296
297 297
298static int 298static int
299testMultithreadedPoolGet () 299testMultithreadedPoolGet (void)
300{ 300{
301 struct MHD_Daemon *d; 301 struct MHD_Daemon *d;
302 CURL *c; 302 CURL *c;
@@ -369,7 +369,7 @@ testMultithreadedPoolGet ()
369 369
370 370
371static int 371static int
372testExternalGet () 372testExternalGet (void)
373{ 373{
374 struct MHD_Daemon *d; 374 struct MHD_Daemon *d;
375 CURL *c; 375 CURL *c;
diff --git a/src/testcurl/test_put.c b/src/testcurl/test_put.c
index d2da48ac..67318934 100644
--- a/src/testcurl/test_put.c
+++ b/src/testcurl/test_put.c
@@ -124,7 +124,7 @@ ahc_echo (void *cls,
124 124
125 125
126static int 126static int
127testInternalPut () 127testInternalPut (void)
128{ 128{
129 struct MHD_Daemon *d; 129 struct MHD_Daemon *d;
130 CURL *c; 130 CURL *c;
@@ -202,7 +202,7 @@ testInternalPut ()
202 202
203 203
204static int 204static int
205testMultithreadedPut () 205testMultithreadedPut (void)
206{ 206{
207 struct MHD_Daemon *d; 207 struct MHD_Daemon *d;
208 CURL *c; 208 CURL *c;
@@ -282,7 +282,7 @@ testMultithreadedPut ()
282 282
283 283
284static int 284static int
285testMultithreadedPoolPut () 285testMultithreadedPoolPut (void)
286{ 286{
287 struct MHD_Daemon *d; 287 struct MHD_Daemon *d;
288 CURL *c; 288 CURL *c;
@@ -363,7 +363,7 @@ testMultithreadedPoolPut ()
363 363
364 364
365static int 365static int
366testExternalPut () 366testExternalPut (void)
367{ 367{
368 struct MHD_Daemon *d; 368 struct MHD_Daemon *d;
369 CURL *c; 369 CURL *c;
diff --git a/src/testcurl/test_put_chunked.c b/src/testcurl/test_put_chunked.c
index d877a2ae..7779b315 100644
--- a/src/testcurl/test_put_chunked.c
+++ b/src/testcurl/test_put_chunked.c
@@ -134,7 +134,7 @@ ahc_echo (void *cls,
134 134
135 135
136static int 136static int
137testInternalPut () 137testInternalPut (void)
138{ 138{
139 struct MHD_Daemon *d; 139 struct MHD_Daemon *d;
140 CURL *c; 140 CURL *c;
@@ -208,7 +208,7 @@ testInternalPut ()
208 208
209 209
210static int 210static int
211testMultithreadedPut () 211testMultithreadedPut (void)
212{ 212{
213 struct MHD_Daemon *d; 213 struct MHD_Daemon *d;
214 CURL *c; 214 CURL *c;
@@ -284,7 +284,7 @@ testMultithreadedPut ()
284 284
285 285
286static int 286static int
287testMultithreadedPoolPut () 287testMultithreadedPoolPut (void)
288{ 288{
289 struct MHD_Daemon *d; 289 struct MHD_Daemon *d;
290 CURL *c; 290 CURL *c;
@@ -361,7 +361,7 @@ testMultithreadedPoolPut ()
361 361
362 362
363static int 363static int
364testExternalPut () 364testExternalPut (void)
365{ 365{
366 struct MHD_Daemon *d; 366 struct MHD_Daemon *d;
367 CURL *c; 367 CURL *c;
diff --git a/src/testcurl/test_timeout.c b/src/testcurl/test_timeout.c
index 1b41bcb2..404cf040 100644
--- a/src/testcurl/test_timeout.c
+++ b/src/testcurl/test_timeout.c
@@ -45,7 +45,7 @@
45 * Pause execution for specified number of milliseconds. 45 * Pause execution for specified number of milliseconds.
46 * @param ms the number of milliseconds to sleep 46 * @param ms the number of milliseconds to sleep
47 */ 47 */
48void 48static void
49_MHD_sleep (uint32_t ms) 49_MHD_sleep (uint32_t ms)
50{ 50{
51#if defined(_WIN32) 51#if defined(_WIN32)
@@ -224,7 +224,7 @@ ahc_echo (void *cls,
224 224
225 225
226static int 226static int
227testWithoutTimeout () 227testWithoutTimeout (void)
228{ 228{
229 struct MHD_Daemon *d; 229 struct MHD_Daemon *d;
230 CURL *c; 230 CURL *c;
@@ -311,7 +311,7 @@ testWithoutTimeout ()
311 311
312 312
313static int 313static int
314testWithTimeout () 314testWithTimeout (void)
315{ 315{
316 struct MHD_Daemon *d; 316 struct MHD_Daemon *d;
317 CURL *c; 317 CURL *c;