X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Fio.h;h=3bc1c1fae0b0f3a8bfdd0a588b19847a0fcbcd07;hb=daf9ee7d8e2b683ff05283beb1843611ad8c9e8a;hp=505c4c70a3fd5bc3f183a3927a2595d9776f9d2b;hpb=c92b496623f29cfb3ac1ade8e52ffbfa95ab5bcf;p=ccan diff --git a/ccan/io/io.h b/ccan/io/io.h index 505c4c70..3bc1c1fa 100644 --- a/ccan/io/io.h +++ b/ccan/io/io.h @@ -391,7 +391,7 @@ struct io_plan io_wait_(const void *wait, /** * io_timeout - set timeout function if the callback doesn't complete. * @conn: the current connection. - * @ts: how long until the timeout should be called. + * @t: how long until the timeout should be called. * @cb: callback to call. * @arg: argument to @cb. * @@ -419,7 +419,7 @@ struct io_plan io_wait_(const void *wait, (fn), (arg), \ struct io_conn *), \ (arg)) -bool io_timeout_(struct io_conn *conn, struct timespec ts, +bool io_timeout_(struct io_conn *conn, struct timerel t, struct io_plan (*fn)(struct io_conn *, void *), void *arg); /**