fix inconsistent signature for aio_error
authorRich Felker <dalias@aerifal.cx>
Wed, 14 Sep 2011 13:36:38 +0000 (09:36 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 14 Sep 2011 13:36:38 +0000 (09:36 -0400)
src/aio/aio_error.c

index 169a9a3..a780fd3 100644 (file)
@@ -1,6 +1,6 @@
 #include <aio.h>
 
 #include <aio.h>
 
-int aio_error(struct aiocb *cb)
+int aio_error(const struct aiocb *cb)
 {
        return cb->__err;
 }
 {
        return cb->__err;
 }