]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-12-bidir.c
ccan/io: pass struct io_plan explicitly.
[ccan] / ccan / io / test / run-12-bidir.c
index eb4f4f0551f71804396131ae23f148a87699770d..0cafb4f2454ac0f17bf489dc974129db82a96bca 100644 (file)
@@ -18,13 +18,13 @@ static void finish_ok(struct io_conn *conn, struct data *d)
        d->state++;
 }
 
-static struct io_plan *write_out(struct io_conn *conn, struct data *d)
+static struct io_plan write_out(struct io_conn *conn, struct data *d)
 {
        d->state++;
        return io_write(conn, d->wbuf, sizeof(d->wbuf), io_close, d);
 }
 
-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++;