chiark / gitweb /
event loop: remove now and tv_now from before/afterpoll API
[secnet.git] / udp.c
diff --git a/udp.c b/udp.c
index f02a05ce4f8c712146a760c5405037e8d7522292..4883d537111e83547e35f2ef16e04e4da3bf7aea 100644 (file)
--- a/udp.c
+++ b/udp.c
@@ -47,8 +47,7 @@ struct udp {
 };
 
 static int udp_beforepoll(void *state, struct pollfd *fds, int *nfds_io,
-                         int *timeout_io, const struct timeval *tv,
-                         uint64_t *now)
+                         int *timeout_io)
 {
     struct udp *st=state;
     if (*nfds_io<1) {
@@ -61,8 +60,7 @@ static int udp_beforepoll(void *state, struct pollfd *fds, int *nfds_io,
     return 0;
 }
 
-static void udp_afterpoll(void *state, struct pollfd *fds, int nfds,
-                         const struct timeval *tv, uint64_t *now)
+static void udp_afterpoll(void *state, struct pollfd *fds, int nfds)
 {
     struct udp *st=state;
     struct sockaddr_in from;