From 142c8c510a7b23c633272c656e45277e4ec35d30 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 25 Dec 2008 15:36:58 +0100 Subject: [PATCH] ANSI funcs with no args --- src/http_command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.4