summaryrefslogtreecommitdiff
path: root/src/aio/aio_error.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-14 09:36:38 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-14 09:36:38 -0400
commit7c131a310875fe4255b049b7e7394074d4104311 (patch)
treea04d8e3517134df16b7437c52a79786a4076136f /src/aio/aio_error.c
parent4da289e1b3a0d09048d9be1dfc3a7280531a1e48 (diff)
downloadmusl-7c131a310875fe4255b049b7e7394074d4104311.tar.gz
musl-7c131a310875fe4255b049b7e7394074d4104311.tar.bz2
musl-7c131a310875fe4255b049b7e7394074d4104311.tar.xz
musl-7c131a310875fe4255b049b7e7394074d4104311.zip
fix inconsistent signature for aio_error
Diffstat (limited to 'src/aio/aio_error.c')
-rw-r--r--src/aio/aio_error.c2
1 files changed, 1 insertions, 1 deletions
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 <aio.h>
-int aio_error(struct aiocb *cb)
+int aio_error(const struct aiocb *cb)
{
return cb->__err;
}