aboutsummaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-04-23 14:01:54 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-04-23 15:21:19 +0300
commit351d8a65d69cc1cace3e4f9186a296d18f2ac0cf (patch)
treea8423d762500529763a3761b6bf5b20355c098ed /doc/examples
parent33b4a2d9974b187b59b2cc1883ba6723f1e52742 (diff)
downloadlibmicrohttpd-351d8a65d69cc1cace3e4f9186a296d18f2ac0cf.tar.gz
libmicrohttpd-351d8a65d69cc1cace3e4f9186a296d18f2ac0cf.zip
Fixed old-style functions definitions
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/largepost.c2
-rw-r--r--doc/examples/logging.c2
-rw-r--r--doc/examples/responseheaders.c2
-rw-r--r--doc/examples/sessions.c2
-rw-r--r--doc/examples/simplepost.c2
-rw-r--r--doc/examples/tlsauthentication.c2
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
330int 330int
331main () 331main (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
48int 48int
49main () 49main (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
75int 75int
76main () 76main (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 */
695static void 695static void
696expire_sessions () 696expire_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
194int 194int
195main () 195main (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
249int 249int
250main () 250main (void)
251{ 251{
252 struct MHD_Daemon *daemon; 252 struct MHD_Daemon *daemon;
253 char *key_pem; 253 char *key_pem;