Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 1 | From f172ea004d34b00aa7bd5baff9422b2ab80df6e7 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 14 Aug 2022 13:32:10 -0700 |
| 4 | Subject: [PATCH 1/2] Add a return type to aio_rw |
| 5 | |
| 6 | Compilers complain about the function prototype otherwise |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | --- |
| 11 | ltp/fsx.c | 1 + |
| 12 | 1 file changed, 1 insertion(+) |
| 13 | |
| 14 | diff --git a/ltp/fsx.c b/ltp/fsx.c |
| 15 | index 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 | -- |
| 27 | 2.37.2 |
| 28 | |