1
0
Эх сурвалжийг харах

fix inconsistent signature for aio_error

Rich Felker 13 жил өмнө
parent
commit
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;
 }