gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 05/26: Fixed old-style functions definitions


From: gnunet
Subject: [libmicrohttpd] 05/26: Fixed old-style functions definitions
Date: Mon, 25 Apr 2022 15:08:29 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 351d8a65d69cc1cace3e4f9186a296d18f2ac0cf
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Apr 23 14:01:54 2022 +0300

    Fixed old-style functions definitions
---
 doc/examples/largepost.c         | 2 +-
 doc/examples/logging.c           | 2 +-
 doc/examples/responseheaders.c   | 2 +-
 doc/examples/sessions.c          | 2 +-
 doc/examples/simplepost.c        | 2 +-
 doc/examples/tlsauthentication.c | 2 +-
 src/examples/demo.c              | 4 ++--
 src/examples/demo_https.c        | 2 +-
 src/examples/post_example.c      | 2 +-
 9 files changed, 10 insertions(+), 10 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,
 
 
 int
-main ()
+main (void)
 {
   struct MHD_Daemon *daemon;
 
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,
 
 
 int
-main ()
+main (void)
 {
   struct MHD_Daemon *daemon;
 
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,
 
 
 int
-main ()
+main (void)
 {
   struct MHD_Daemon *daemon;
 
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,
  * too long.
  */
 static void
-expire_sessions ()
+expire_sessions (void)
 {
   struct Session *pos;
   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,
 
 
 int
-main ()
+main (void)
 {
   struct MHD_Daemon *daemon;
 
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,
 
 
 int
-main ()
+main (void)
 {
   struct MHD_Daemon *daemon;
   char *key_pem;
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,
  * Re-scan our local directory and re-build the index.
  */
 static void
-update_directory ()
+update_directory (void)
 {
   static size_t initial_allocation = 32 * 1024; /* initial size for response 
buffer */
   struct MHD_Response *response;
@@ -858,7 +858,7 @@ catcher (int sig)
  * setup handlers to ignore SIGPIPE.
  */
 static void
-ignore_sigpipe ()
+ignore_sigpipe (void)
 {
   struct sigaction oldsig;
   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,
  * Re-scan our local directory and re-build the index.
  */
 static void
-update_directory ()
+update_directory (void)
 {
   static size_t initial_allocation = 32 * 1024; /* initial size for response 
buffer */
   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,
  * too long.
  */
 static void
-expire_sessions ()
+expire_sessions (void)
 {
   struct Session *pos;
   struct Session *prev;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]