blob: e0a04c9073d843fb476201148c7e973d026cdbb6 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001From f172ea004d34b00aa7bd5baff9422b2ab80df6e7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 14 Aug 2022 13:32:10 -0700
4Subject: [PATCH 1/2] Add a return type to aio_rw
5
6Compilers complain about the function prototype otherwise
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 ltp/fsx.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/ltp/fsx.c b/ltp/fsx.c
15index 12c2cc33..55b4e9b6 100644
16--- a/ltp/fsx.c
17+++ b/ltp/fsx.c
18@@ -2429,6 +2429,7 @@ out_error:
19 return -1;
20 }
21 #else
22+int
23 aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
24 {
25 fprintf(stderr, "io_rw: need AIO support!\n");
26--
272.37.2
28