On Wed, Sep 27, 2023 at 03:16:17PM +0200, Vyacheslav Yurkov wrote: > From: Khem Raj <raj.khem@xxxxxxxxx> > > Compilers complain about the function prototype otherwise > > Signed-off-by: Khem Raj <raj.khem@xxxxxxxxx> > Signed-off-by: Vyacheslav Yurkov <uvv.mail@xxxxxxxxx> > Cc: Darrick J. Wong <djwong@xxxxxxxxxx> > Cc: Zorro Lang <zlang@xxxxxxxxxx> Whoooops, good catch! Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx> --D > --- > ltp/fsx.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/ltp/fsx.c b/ltp/fsx.c > index ccb382e7..a30e2a8d 100644 > --- a/ltp/fsx.c > +++ b/ltp/fsx.c > @@ -2592,6 +2592,7 @@ out_error: > return -1; > } > #else > +int > aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset) > { > fprintf(stderr, "io_rw: need AIO support!\n"); > -- > 2.35.1 >