[PATCH] fsx: Add a return type to aio_rw

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



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>
---
 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




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux