@@ -328,7 +328,7 @@ answer_to_connection (void *cls,
int
-main ()
+main (void)
{
struct MHD_Daemon *daemon;
@@ -46,7 +46,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
@@ -73,7 +73,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
@@ -693,7 +693,7 @@ request_completed_callback (void *cls,
* too long.
*/
static void
-expire_sessions ()
+expire_sessions (void)
struct Session *pos;
struct Session *prev;
@@ -192,7 +192,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
@@ -247,7 +247,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
char *key_pem;
@@ -317,7 +317,7 @@ list_directory (struct ResponseDataContext *rdc,
* Re-scan our local directory and re-build the index.
-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.
-ignore_sigpipe ()
+ignore_sigpipe (void)
struct sigaction oldsig;
struct sigaction sig;
@@ -319,7 +319,7 @@ list_directory (struct ResponseDataContext *rdc,
@@ -690,7 +690,7 @@ request_completed_callback (void *cls,