diff options
Diffstat (limited to 'src/test/test-async.c')
-rw-r--r-- | src/test/test-async.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-async.c b/src/test/test-async.c index 7c7dfe62da..4f5307889e 100644 --- a/src/test/test-async.c +++ b/src/test/test-async.c @@ -3,8 +3,8 @@ #include <unistd.h> #include "async.h" -#include "fileio.h" #include "macro.h" +#include "tmpfile-util.h" #include "util.h" static bool test_async = false; @@ -32,7 +32,7 @@ int main(int argc, char *argv[]) { assert_se(fcntl(fd, F_GETFD) == -1); assert_se(test_async); - unlink(name); + (void) unlink(name); return 0; } |