[LTP] [PATCH] syscalls/mmap17: Remove useless error.h
Yang Xu
xuyang2018.jy@cn.fujitsu.com
Fri Jun 12 05:30:51 CEST 2020
In this test, we don't use error() or error_at_line() function, so
remove this header file. It also fix build error on alpine:latest.
Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
---
testcases/kernel/syscalls/mmap/mmap17.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/testcases/kernel/syscalls/mmap/mmap17.c b/testcases/kernel/syscalls/mmap/mmap17.c
index bd3642e97..0001c3794 100644
--- a/testcases/kernel/syscalls/mmap/mmap17.c
+++ b/testcases/kernel/syscalls/mmap/mmap17.c
@@ -20,7 +20,6 @@
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <error.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
--
2.23.0
More information about the ltp
mailing list