Browse Source

fix inconsistent signature for aio_error

Rich Felker 13 years ago
parent
commit
7c131a3108
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/aio/aio_error.c

+ 1 - 1
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;
 }