]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-04-writepartial.c
ccan/io: pass struct io_plan explicitly.
[ccan] / ccan / io / test / run-04-writepartial.c
index 87fa8d9d0b22fef5b01da4d9d51473e602b4fada..d4e33c9674ecf625edfedd42d703302bc14d85b9 100644 (file)
@@ -12,7 +12,7 @@ struct data {
        char *buf;
 };
 
-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++;