Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openposix: Fix the dummy declaration for
lio_listio
The second parameter should be "struct aiocb *const [restrict]" instead of "struct aiocb *restrict const [restrict]" based on the header file "aio.h". For "struct aiocb *restrict const [restrict]", it will report "-Wincompatible-pointer-types" issue while compiling: - With gcc 11.5.0, it's a warning issue. - With gcc 14.2.0, it becomes an error. Link: https://lore.kernel.org/ltp/[email protected]/ Reviewed-by: Petr Vorel <[email protected]> Signed-off-by: Ma Xinjian <[email protected]>
- Loading branch information