Skip to contentSkip to conversation

syscalls/mmap17: Remove useless error.h

PATCH New Yang Xu 2 participants 2 messages Jun 12, 2020

lore
Share & tools
lore

Yang Xu

author
#0 lore raw

PATCH 1/1 syscalls/mmap17: Remove useless error.h

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.

---
 testcases/kernel/syscalls/mmap/mmap17.c | 1 -
 1 file changed, 1 deletion(-)
testcases/kernel/syscalls/mmap/mmap17.c +0 -1
index bd3642e97..0001c3794 100644
@@ -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>
Signature · 1 line
2.23.0