2019年11月29日 16:19,liming wu <wu860403@xxxxxxxxx> 写道: > > 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; > > -- > <delete-unneede-int-type.patch> I think it would be better for you to send patches using git send-email instead of using attachments. -- Jackie Liu