]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-13-all-idle.c
ccan/io: generic init function for listening connections.
[ccan] / ccan / io / test / run-13-all-idle.c
index 48be71dda7340a0671436aa101bd80edf6fddf4f..f83fb31e46a245eeabc854ea7afe9d9deb44d0eb 100644 (file)
@@ -7,9 +7,9 @@
 #include <stdio.h>
 #include <signal.h>
 
-static struct io_plan *start(struct io_conn *conn, void *unused)
+static struct io_plan start(struct io_conn *conn, void *unused)
 {
-       return io_idle(conn);
+       return io_idle();
 }
 
 int main(void)