]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-03-readpartial.c
ccan/io: pass struct io_plan explicitly.
[ccan] / ccan / io / test / run-03-readpartial.c
index 9e97f49ac936892a076ddf4cd42c840090f6dcb6..e6e33e3d4baad6d6733bdac2a30de25af35bcb4a 100644 (file)
@@ -12,7 +12,7 @@ struct data {
        char buf[4];
 };
 
-static struct io_plan *start_ok(struct io_conn *conn, struct data *d)
+static struct io_plan start_ok(struct io_conn *conn, struct data *d)
 {
        ok1(d->state == 0);
        d->state++;