X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-07-break.c;h=5bc0e8c68be8ac4a89debb5f44e67ea3d0a47274;hp=3dac4ecee2d9e6c0af85c07ce5eb3f1322cae67c;hb=625bae8f5720d3ad3253ea9b26ad68abcd81bde5;hpb=42762758d98feb08b861361b7f695de2cad26b07 diff --git a/ccan/io/test/run-07-break.c b/ccan/io/test/run-07-break.c index 3dac4ece..5bc0e8c6 100644 --- a/ccan/io/test/run-07-break.c +++ b/ccan/io/test/run-07-break.c @@ -11,14 +11,14 @@ struct data { char buf[4]; }; -static struct io_plan *plan_read(struct io_conn *conn, struct data *d) +static struct io_plan plan_read(struct io_conn *conn, struct data *d) { ok1(d->state == 1); d->state++; return io_read(conn, d->buf, sizeof(d->buf), io_close, d); } -static struct io_plan *start_break(struct io_conn *conn, struct data *d) +static struct io_plan start_break(struct io_conn *conn, struct data *d) { ok1(d->state == 0); d->state++;