comparison 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
comparison
equal deleted inserted replaced
1527:049b28f4be4a 1531:fa733a314bee
134 ses.allowprivport = 0; 134 ses.allowprivport = 0;
135 135
136 TRACE(("leave session_init")) 136 TRACE(("leave session_init"))
137 } 137 }
138 138
139 void session_loop(void(*loophandler)()) { 139 void session_loop(void(*loophandler)(void)) {
140 140
141 fd_set readfd, writefd; 141 fd_set readfd, writefd;
142 struct timeval timeout; 142 struct timeval timeout;
143 int val; 143 int val;
144 144