diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-04-23 14:01:54 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-04-23 15:21:19 +0300 |
commit | 351d8a65d69cc1cace3e4f9186a296d18f2ac0cf (patch) | |
tree | a8423d762500529763a3761b6bf5b20355c098ed /doc/examples | |
parent | 33b4a2d9974b187b59b2cc1883ba6723f1e52742 (diff) | |
download | libmicrohttpd-351d8a65d69cc1cace3e4f9186a296d18f2ac0cf.tar.gz libmicrohttpd-351d8a65d69cc1cace3e4f9186a296d18f2ac0cf.zip |
Fixed old-style functions definitions
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/largepost.c | 2 | ||||
-rw-r--r-- | doc/examples/logging.c | 2 | ||||
-rw-r--r-- | doc/examples/responseheaders.c | 2 | ||||
-rw-r--r-- | doc/examples/sessions.c | 2 | ||||
-rw-r--r-- | doc/examples/simplepost.c | 2 | ||||
-rw-r--r-- | doc/examples/tlsauthentication.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/doc/examples/largepost.c b/doc/examples/largepost.c index b7cccc04..6cfaf833 100644 --- a/doc/examples/largepost.c +++ b/doc/examples/largepost.c | |||
@@ -328,7 +328,7 @@ answer_to_connection (void *cls, | |||
328 | 328 | ||
329 | 329 | ||
330 | int | 330 | int |
331 | main () | 331 | main (void) |
332 | { | 332 | { |
333 | struct MHD_Daemon *daemon; | 333 | struct MHD_Daemon *daemon; |
334 | 334 | ||
diff --git a/doc/examples/logging.c b/doc/examples/logging.c index 0db2e2ef..2c2a3c3a 100644 --- a/doc/examples/logging.c +++ b/doc/examples/logging.c | |||
@@ -46,7 +46,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, | |||
46 | 46 | ||
47 | 47 | ||
48 | int | 48 | int |
49 | main () | 49 | main (void) |
50 | { | 50 | { |
51 | struct MHD_Daemon *daemon; | 51 | struct MHD_Daemon *daemon; |
52 | 52 | ||
diff --git a/doc/examples/responseheaders.c b/doc/examples/responseheaders.c index 162e5e2d..ce8167f3 100644 --- a/doc/examples/responseheaders.c +++ b/doc/examples/responseheaders.c | |||
@@ -73,7 +73,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, | |||
73 | 73 | ||
74 | 74 | ||
75 | int | 75 | int |
76 | main () | 76 | main (void) |
77 | { | 77 | { |
78 | struct MHD_Daemon *daemon; | 78 | struct MHD_Daemon *daemon; |
79 | 79 | ||
diff --git a/doc/examples/sessions.c b/doc/examples/sessions.c index 0fe143eb..5b4d4b45 100644 --- a/doc/examples/sessions.c +++ b/doc/examples/sessions.c | |||
@@ -693,7 +693,7 @@ request_completed_callback (void *cls, | |||
693 | * too long. | 693 | * too long. |
694 | */ | 694 | */ |
695 | static void | 695 | static void |
696 | expire_sessions () | 696 | expire_sessions (void) |
697 | { | 697 | { |
698 | struct Session *pos; | 698 | struct Session *pos; |
699 | struct Session *prev; | 699 | struct Session *prev; |
diff --git a/doc/examples/simplepost.c b/doc/examples/simplepost.c index 51cf23c0..0faa0948 100644 --- a/doc/examples/simplepost.c +++ b/doc/examples/simplepost.c | |||
@@ -192,7 +192,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, | |||
192 | 192 | ||
193 | 193 | ||
194 | int | 194 | int |
195 | main () | 195 | main (void) |
196 | { | 196 | { |
197 | struct MHD_Daemon *daemon; | 197 | struct MHD_Daemon *daemon; |
198 | 198 | ||
diff --git a/doc/examples/tlsauthentication.c b/doc/examples/tlsauthentication.c index 1898e730..3c39a0f5 100644 --- a/doc/examples/tlsauthentication.c +++ b/doc/examples/tlsauthentication.c | |||
@@ -247,7 +247,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection, | |||
247 | 247 | ||
248 | 248 | ||
249 | int | 249 | int |
250 | main () | 250 | main (void) |
251 | { | 251 | { |
252 | struct MHD_Daemon *daemon; | 252 | struct MHD_Daemon *daemon; |
253 | char *key_pem; | 253 | char *key_pem; |