From: Adam Dickmeiss Date: Thu, 25 Dec 2008 14:36:58 +0000 (+0100) Subject: ANSI funcs with no args X-Git-Tag: v1.1.0~50 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=142c8c510a7b23c633272c656e45277e4ec35d30;p=pazpar2-moved-to-github.git ANSI funcs with no args --- diff --git a/src/http_command.c b/src/http_command.c index ba4b670..7c0dc56 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -62,7 +62,7 @@ static void session_timeout(IOCHAN i, int event) http_session_destroy(s); } -struct http_session *http_session_create() +struct http_session *http_session_create(void) { NMEM nmem = nmem_create(); struct http_session *r = nmem_malloc(nmem, sizeof(*r)); @@ -153,7 +153,7 @@ static void error(struct http_response *rs, http_send_response(c); } -unsigned int make_sessionid() +unsigned int make_sessionid(void) { static int seq = 0; unsigned int res;