Hi It can't buid successfully except use c99. Subject: [PATCH] delete unneede int-type --- test/accept-link.c | 2 +- test/poll-link.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/accept-link.c b/test/accept-link.c index 2fbc12e..91dbc2b 100644 --- a/test/accept-link.c +++ b/test/accept-link.c @@ -131,7 +131,7 @@ void *recv_thread(void *arg) assert(io_uring_submit(&ring) == 2); - for (int i = 0; i < 2; i++) { + for (i = 0; i < 2; i++) { struct io_uring_cqe *cqe; int idx; diff --git a/test/poll-link.c b/test/poll-link.c index 3cc2ca7..abddb71 100644 --- a/test/poll-link.c +++ b/test/poll-link.c @@ -127,7 +127,7 @@ void *recv_thread(void *arg) assert(io_uring_submit(&ring) == 2); - for (int i = 0; i < 2; i++) { + for (i = 0; i < 2; i++) { struct io_uring_cqe *cqe; int idx; --
Attachment:
delete-unneede-int-type.patch
Description: Binary data