浏览代码

fix inconsistent signature for aio_error

Rich Felker 13 年之前
父节点
当前提交
7c131a3108
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 }