diff common-session.c @ 1531:fa733a314bee

use a full prototype (#56)
author François Perrad <francois.perrad@gadz.org>
date Tue, 20 Feb 2018 16:13:42 +0100
parents 0c16b4ccbd54
children bb8eaa26bc93
line wrap: on
line diff
--- a/common-session.c	Tue Feb 20 19:35:26 2018 +0800
+++ b/common-session.c	Tue Feb 20 16:13:42 2018 +0100
@@ -136,7 +136,7 @@
 	TRACE(("leave session_init"))
 }
 
-void session_loop(void(*loophandler)()) {
+void session_loop(void(*loophandler)(void)) {
 
 	fd_set readfd, writefd;
 	struct timeval timeout;