* [LTP] [PATCH] syscalls/mmap17: Remove useless error.h
@ 2020-06-12 3:30 Yang Xu
2020-06-12 14:48 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: Yang Xu @ 2020-06-12 3:30 UTC (permalink / raw)
To: ltp
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [LTP] [PATCH] syscalls/mmap17: Remove useless error.h
2020-06-12 3:30 [LTP] [PATCH] syscalls/mmap17: Remove useless error.h Yang Xu
@ 2020-06-12 14:48 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2020-06-12 14:48 UTC (permalink / raw)
To: ltp
Hi!
Pushed, thanks.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-12 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-12 3:30 [LTP] [PATCH] syscalls/mmap17: Remove useless error.h Yang Xu
2020-06-12 14:48 ` Cyril Hrubis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.