]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-05-write.c
ccan/io: pass struct io_plan explicitly.
[ccan] / ccan / io / test / run-05-write.c
index 1181bec02fdaf612151691d5a05cd856acd2bb98..ad6760e4f09a465baffc241f4bc3a67658497016 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++;