summaryrefslogtreecommitdiff
path: root/memcached.c
diff options
context:
space:
mode:
Diffstat (limited to 'memcached.c')
-rw-r--r--memcached.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/memcached.c b/memcached.c
index 86ac064..2806afb 100644
--- a/memcached.c
+++ b/memcached.c
@@ -84,7 +84,7 @@ static int try_read_command_udp(conn *c);
static enum try_read_result try_read_network(conn *c);
static enum try_read_result try_read_udp(conn *c);
-static int start_conn_timeout_thread();
+static int start_conn_timeout_thread(void);
/* stats */
static void stats_init(void);
@@ -374,7 +374,7 @@ static void *conn_timeout_thread(void *arg) {
return NULL;
}
-static int start_conn_timeout_thread() {
+static int start_conn_timeout_thread(void) {
int ret;
if (settings.idle_timeout == 0)