From 6cd313691e522bc2188b05cbe949a57ca40a34f0 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 24 Mar 2011 14:55:57 +0100 Subject: __uClibc_main.c: do not include unused headers Remove unneeded headers. Guard inclusion of fcntl.h. While there, remove an obsoleted comment. Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/misc/internals/__uClibc_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/misc/internals') diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index 9f7258d8a..f2290b32a 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -25,9 +25,9 @@ #include #include #include +#ifndef __ARCH_HAS_NO_LDSO__ #include -#include -#include +#endif #ifdef __UCLIBC_HAS_THREADS_NATIVE__ #include #include @@ -157,7 +157,6 @@ weak_alias (program_invocation_name, __progname_full) char **__environ = 0; weak_alias(__environ, environ) -/* TODO: don't export __pagesize; we cant now because libpthread uses it */ size_t __pagesize = 0; #ifndef O_NOFOLLOW -- cgit v1.2.3