chiark / gitweb /
portability: Scripts and documentation for Mac OS X support.
[secnet.git] / process.c
index babcaaca74b72cf3369088c1df14e66b14da535f..968e93c3e92db76c92dcd2bcb67b2a2d5d8f8a26 100644 (file)
--- a/process.c
+++ b/process.c
@@ -176,8 +176,7 @@ int sys_cmd(const char *path, const char *arg, ...)
 
 static beforepoll_fn signal_beforepoll;
 static int signal_beforepoll(void *st, struct pollfd *fds, int *nfds_io,
-                            int *timeout_io, const struct timeval *tv_now,
-                            uint64_t *now)
+                            int *timeout_io)
 {
     if (*nfds_io<1) {
        *nfds_io=1;
@@ -190,8 +189,7 @@ static int signal_beforepoll(void *st, struct pollfd *fds, int *nfds_io,
 }
 
 static afterpoll_fn signal_afterpoll;
-static void signal_afterpoll(void *st, struct pollfd *fds, int nfds,
-                            const struct timeval *tv, uint64_t *now)
+static void signal_afterpoll(void *st, struct pollfd *fds, int nfds)
 {
     uint8_t buf[16];
     struct signotify *n;