Prechádzať zdrojové kódy

fix inconsistent signature for aio_error

Rich Felker 13 rokov pred
rodič
commit
7c131a3108
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;
 }