Преглед изворни кода

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