]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-13-all-idle.c
io: update to use time_mono() for timers.
[ccan] / ccan / io / test / run-13-all-idle.c
index f8ee97f805ca791ffdc5c9417176e8d8de2d5656..7896b14f4e036913f2ae67feca4f3903e580b024 100644 (file)
@@ -9,7 +9,7 @@
 
 static struct io_plan *setup_waiter(struct io_conn *conn, int *status)
 {
-       return io_wait(conn, status, IO_IN, io_close_cb, NULL);
+       return io_wait(conn, status, io_close_cb, NULL);
 }
 
 int main(void)
@@ -23,7 +23,7 @@ int main(void)
 
                ok1(pipe(fds) == 0);
                io_new_conn(NULL, fds[0], setup_waiter, &status);
-               io_loop();
+               io_loop(NULL, NULL);
                exit(1);
        }