From 7c131a310875fe4255b049b7e7394074d4104311 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 14 Sep 2011 09:36:38 -0400 Subject: fix inconsistent signature for aio_error --- src/aio/aio_error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aio/aio_error.c b/src/aio/aio_error.c index 169a9a30..a780fd33 100644 --- a/src/aio/aio_error.c +++ b/src/aio/aio_error.c @@ -1,6 +1,6 @@ #include -int aio_error(struct aiocb *cb) +int aio_error(const struct aiocb *cb) { return cb->__err; } -- cgit v1.2.1