fix inconsistent signature for aio_error
This commit is contained in:
parent
4da289e1b3
commit
7c131a3108
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#include <aio.h>
|
||||
|
||||
int aio_error(struct aiocb *cb)
|
||||
int aio_error(const struct aiocb *cb)
|
||||
{
|
||||
return cb->__err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue