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 /src | |
parent | 33b4a2d9974b187b59b2cc1883ba6723f1e52742 (diff) | |
download | libmicrohttpd-351d8a65d69cc1cace3e4f9186a296d18f2ac0cf.tar.gz libmicrohttpd-351d8a65d69cc1cace3e4f9186a296d18f2ac0cf.zip |
Fixed old-style functions definitions
Diffstat (limited to 'src')
-rw-r--r-- | src/examples/demo.c | 4 | ||||
-rw-r--r-- | src/examples/demo_https.c | 2 | ||||
-rw-r--r-- | src/examples/post_example.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/demo.c b/src/examples/demo.c index 5b3e75d1..1c24a57e 100644 --- a/src/examples/demo.c +++ b/src/examples/demo.c | |||
@@ -317,7 +317,7 @@ list_directory (struct ResponseDataContext *rdc, | |||
317 | * Re-scan our local directory and re-build the index. | 317 | * Re-scan our local directory and re-build the index. |
318 | */ | 318 | */ |
319 | static void | 319 | static void |
320 | update_directory () | 320 | update_directory (void) |
321 | { | 321 | { |
322 | static size_t initial_allocation = 32 * 1024; /* initial size for response buffer */ | 322 | static size_t initial_allocation = 32 * 1024; /* initial size for response buffer */ |
323 | struct MHD_Response *response; | 323 | struct MHD_Response *response; |
@@ -858,7 +858,7 @@ catcher (int sig) | |||
858 | * setup handlers to ignore SIGPIPE. | 858 | * setup handlers to ignore SIGPIPE. |
859 | */ | 859 | */ |
860 | static void | 860 | static void |
861 | ignore_sigpipe () | 861 | ignore_sigpipe (void) |
862 | { | 862 | { |
863 | struct sigaction oldsig; | 863 | struct sigaction oldsig; |
864 | struct sigaction sig; | 864 | struct sigaction sig; |
diff --git a/src/examples/demo_https.c b/src/examples/demo_https.c index cfd586ca..1a09d2c2 100644 --- a/src/examples/demo_https.c +++ b/src/examples/demo_https.c | |||
@@ -319,7 +319,7 @@ list_directory (struct ResponseDataContext *rdc, | |||
319 | * Re-scan our local directory and re-build the index. | 319 | * Re-scan our local directory and re-build the index. |
320 | */ | 320 | */ |
321 | static void | 321 | static void |
322 | update_directory () | 322 | update_directory (void) |
323 | { | 323 | { |
324 | static size_t initial_allocation = 32 * 1024; /* initial size for response buffer */ | 324 | static size_t initial_allocation = 32 * 1024; /* initial size for response buffer */ |
325 | struct MHD_Response *response; | 325 | struct MHD_Response *response; |
diff --git a/src/examples/post_example.c b/src/examples/post_example.c index 5df56afb..1134a331 100644 --- a/src/examples/post_example.c +++ b/src/examples/post_example.c | |||
@@ -690,7 +690,7 @@ request_completed_callback (void *cls, | |||
690 | * too long. | 690 | * too long. |
691 | */ | 691 | */ |
692 | static void | 692 | static void |
693 | expire_sessions () | 693 | expire_sessions (void) |
694 | { | 694 | { |
695 | struct Session *pos; | 695 | struct Session *pos; |
696 | struct Session *prev; | 696 | struct Session *prev; |