فهرست منبع

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