diff session.h @ 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 d68d61e7056a
children 76189c9ffea2
line wrap: on
line diff
--- a/session.h	Tue Feb 20 19:35:26 2018 +0800
+++ b/session.h	Tue Feb 20 16:13:42 2018 +0100
@@ -40,7 +40,7 @@
 #include "netio.h"
 
 void common_session_init(int sock_in, int sock_out);
-void session_loop(void(*loophandler)()) ATTRIB_NORETURN;
+void session_loop(void(*loophandler)(void)) ATTRIB_NORETURN;
 void session_cleanup(void);
 void send_session_identification(void);
 void send_msg_ignore(void);