fix inconsistent signature for aio_error
[musl] / src / aio / aio_error.c
index 169a9a3..a780fd3 100644 (file)
@@ -1,6 +1,6 @@
 #include <aio.h>
 
-int aio_error(struct aiocb *cb)
+int aio_error(const struct aiocb *cb)
 {
        return cb->__err;
 }