[klibc] [PATCH 3/4] tests: cleanup unused includes
maximilian attems
max at stro.at
Sat Nov 20 14:31:47 PST 2010
Several unused errno.h and a stdarg.h.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/klibc/tests/fcntl.c | 1 -
usr/klibc/tests/stat.c | 1 -
usr/klibc/tests/statfs.c | 1 -
usr/klibc/tests/testvsnp.c | 1 -
4 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/usr/klibc/tests/fcntl.c b/usr/klibc/tests/fcntl.c
index b2bdbdf..219423e 100644
--- a/usr/klibc/tests/fcntl.c
+++ b/usr/klibc/tests/fcntl.c
@@ -5,7 +5,6 @@
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
-#include <errno.h>
#include <stdlib.h>
#include <string.h>
diff --git a/usr/klibc/tests/stat.c b/usr/klibc/tests/stat.c
index 90223cf..4410833 100644
--- a/usr/klibc/tests/stat.c
+++ b/usr/klibc/tests/stat.c
@@ -1,6 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
-#include <errno.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <sys/types.h>
diff --git a/usr/klibc/tests/statfs.c b/usr/klibc/tests/statfs.c
index 0cf99f1..0ac8051 100644
--- a/usr/klibc/tests/statfs.c
+++ b/usr/klibc/tests/statfs.c
@@ -1,6 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
-#include <errno.h>
#include <sys/vfs.h>
static void do_statfs(const char *path)
diff --git a/usr/klibc/tests/testvsnp.c b/usr/klibc/tests/testvsnp.c
index 098b49a..7120bda 100644
--- a/usr/klibc/tests/testvsnp.c
+++ b/usr/klibc/tests/testvsnp.c
@@ -1,5 +1,4 @@
#include <assert.h>
-#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
--
1.7.2.3
More information about the klibc
mailing list