From 11b076bbae4c41dd44997a7031a59f525322a130 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 25 Jun 2014 18:09:01 +0000 Subject: Remove stray includes of kernel-features.h. Now that files using __ASSUME_* macros have been made by to include directly, any include from a file not using __ASSUME_* macros can safely be removed (as there will no longer be some other file relying on indirect inclusion via a header from which the include is being removed). This patch removes such unnecessary kernel-features.h includes. Tested x86_64 that disassembly of installed shared libraries is unchanged by this patch, except for line numbers in calls to __assert_fail from libc.so and ld.so. 2014-06-23 Joseph Myers * nptl/createthread.c: Don't include kernel-features.h. * nptl/pthread_cancel.c: Likewise. * nptl/pthread_condattr_setclock.c: Likewise. * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise. * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise. * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise. * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise. * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise. * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise. * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise. * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise. * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise. * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise. * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise. * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise. * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise. * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise. * nscd/gai.c: Likewise. * nss/nss_db/db-open.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/sh/nptl/tls.h: Likewise. * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise. * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise. * sysdeps/unix/sysv/linux/adjtime.c: Likewise. * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise. * sysdeps/unix/sysv/linux/check_pf.c: Likewise. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise. * sysdeps/unix/sysv/linux/clock_getres.c: Likewise. * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise. * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise. * sysdeps/unix/sysv/linux/clock_settime.c: Likewise. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise. * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise. * sysdeps/unix/sysv/linux/generic/poll.c: Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise. * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise. * sysdeps/unix/sysv/linux/getcwd.c: Likewise. * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. * sysdeps/unix/sysv/linux/getsysstats.c: Likewise. * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise. * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. * sysdeps/unix/sysv/linux/ia64/system.c: Likewise. * sysdeps/unix/sysv/linux/if_index.c: Likewise. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. * sysdeps/unix/sysv/linux/ifreq.c: Likewise. * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise. * sysdeps/unix/sysv/linux/lutimes.c: Likewise. * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise. * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/mmap64.c: Likewise. * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise. * sysdeps/unix/sysv/linux/pread.c: Likewise. * sysdeps/unix/sysv/linux/pread64.c: Likewise. * sysdeps/unix/sysv/linux/prof-freq.c: Likewise. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. * sysdeps/unix/sysv/linux/s390/system.c: Likewise. * sysdeps/unix/sysv/linux/sh/pread.c: Likewise. * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise. * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/sigpending.c: Likewise. * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise. * sysdeps/unix/sysv/linux/sparc/system.c: Likewise. * sysdeps/unix/sysv/linux/syslog.c: Likewise. * sysdeps/unix/sysv/linux/system.c: Likewise. * sysdeps/unix/sysv/linux/testrtsig.h: Likewise. * sysdeps/unix/sysv/linux/timespec_get.c: Likewise. * sysdeps/unix/sysv/linux/ttyname.c: Likewise. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. * sysdeps/unix/sysv/linux/utimensat.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/xstatconv.h: Likewise. --- sysdeps/unix/sysv/linux/aarch64/sigaction.c | 2 -- sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h | 1 - sysdeps/unix/sysv/linux/aarch64/vfork.S | 1 - sysdeps/unix/sysv/linux/adjtime.c | 2 -- sysdeps/unix/sysv/linux/alpha/xstatconv.h | 1 - sysdeps/unix/sysv/linux/arm/sigaction.c | 1 - sysdeps/unix/sysv/linux/arm/sigcontextinfo.h | 1 - sysdeps/unix/sysv/linux/check_pf.c | 1 - sysdeps/unix/sysv/linux/clock_getcpuclockid.c | 1 - sysdeps/unix/sysv/linux/clock_getres.c | 1 - sysdeps/unix/sysv/linux/clock_gettime.c | 1 - sysdeps/unix/sysv/linux/clock_nanosleep.c | 1 - sysdeps/unix/sysv/linux/clock_settime.c | 1 - sysdeps/unix/sysv/linux/dl-execstack.c | 2 -- sysdeps/unix/sysv/linux/dl-osinfo.h | 1 - sysdeps/unix/sysv/linux/dl-sysdep.c | 1 - sysdeps/unix/sysv/linux/generic/futimesat.c | 1 - sysdeps/unix/sysv/linux/generic/poll.c | 2 -- sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c | 1 - sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c | 1 - sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c | 2 -- sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c | 2 -- sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c | 2 -- sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c | 2 -- sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c | 2 -- sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c | 2 -- sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c | 2 -- sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c | 2 -- sysdeps/unix/sysv/linux/getcwd.c | 2 -- sysdeps/unix/sysv/linux/getpagesize.c | 1 - sysdeps/unix/sysv/linux/getsysstats.c | 1 - sysdeps/unix/sysv/linux/i386/fxstat.c | 2 -- sysdeps/unix/sysv/linux/i386/lxstat.c | 2 -- sysdeps/unix/sysv/linux/i386/mmap.S | 2 -- sysdeps/unix/sysv/linux/i386/mmap64.S | 2 -- sysdeps/unix/sysv/linux/i386/sigaction.c | 2 -- sysdeps/unix/sysv/linux/i386/vfork.S | 1 - sysdeps/unix/sysv/linux/i386/xstat.c | 2 -- sysdeps/unix/sysv/linux/ia64/system.c | 2 -- sysdeps/unix/sysv/linux/if_index.c | 1 - sysdeps/unix/sysv/linux/ifaddrs.c | 1 - sysdeps/unix/sysv/linux/ifreq.c | 1 - sysdeps/unix/sysv/linux/ldsodefs.h | 2 -- sysdeps/unix/sysv/linux/lutimes.c | 1 - sysdeps/unix/sysv/linux/m68k/vfork.S | 1 - sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S | 1 - sysdeps/unix/sysv/linux/mips/mips32/accept4.c | 1 - sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c | 1 - sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c | 1 - sysdeps/unix/sysv/linux/mips/pread.c | 2 -- sysdeps/unix/sysv/linux/mips/pread64.c | 2 -- sysdeps/unix/sysv/linux/mips/pwrite.c | 2 -- sysdeps/unix/sysv/linux/mips/pwrite64.c | 2 -- sysdeps/unix/sysv/linux/mips/sigaction.c | 2 -- sysdeps/unix/sysv/linux/mmap64.c | 2 -- sysdeps/unix/sysv/linux/netlinkaccess.h | 2 -- sysdeps/unix/sysv/linux/powerpc/chown.c | 2 -- sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c | 2 -- sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c | 2 -- sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c | 2 -- sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c | 2 -- sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c | 2 -- sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c | 2 -- sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c | 2 -- sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c | 2 -- sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S | 1 - sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S | 1 - sysdeps/unix/sysv/linux/pread.c | 2 -- sysdeps/unix/sysv/linux/pread64.c | 2 -- sysdeps/unix/sysv/linux/prof-freq.c | 1 - sysdeps/unix/sysv/linux/pwrite.c | 2 -- sysdeps/unix/sysv/linux/pwrite64.c | 2 -- sysdeps/unix/sysv/linux/s390/s390-32/mmap.S | 1 - sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S | 1 - sysdeps/unix/sysv/linux/s390/system.c | 2 -- sysdeps/unix/sysv/linux/sh/pread.c | 2 -- sysdeps/unix/sysv/linux/sh/pread64.c | 2 -- sysdeps/unix/sysv/linux/sh/pwrite.c | 2 -- sysdeps/unix/sysv/linux/sh/pwrite64.c | 2 -- sysdeps/unix/sysv/linux/sigaction.c | 2 -- sysdeps/unix/sysv/linux/sigpending.c | 2 -- sysdeps/unix/sysv/linux/sigprocmask.c | 1 - sysdeps/unix/sysv/linux/sigsuspend.c | 2 -- sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c | 1 - sysdeps/unix/sysv/linux/sparc/system.c | 2 -- sysdeps/unix/sysv/linux/syslog.c | 2 -- sysdeps/unix/sysv/linux/system.c | 1 - sysdeps/unix/sysv/linux/testrtsig.h | 2 -- sysdeps/unix/sysv/linux/timespec_get.c | 1 - sysdeps/unix/sysv/linux/ttyname.c | 1 - sysdeps/unix/sysv/linux/ttyname_r.c | 1 - sysdeps/unix/sysv/linux/utimensat.c | 2 -- sysdeps/unix/sysv/linux/x86_64/sigaction.c | 2 -- sysdeps/unix/sysv/linux/xstatconv.h | 2 -- 107 files changed, 162 deletions(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/aarch64/sigaction.c b/sysdeps/unix/sysv/linux/aarch64/sigaction.c index 418207f68d..7dabe4689b 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sigaction.c +++ b/sysdeps/unix/sysv/linux/aarch64/sigaction.c @@ -23,8 +23,6 @@ #include #include -#include - #define SA_RESTORER 0x04000000 /* The difference here is that the sigaction structure used in the diff --git a/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h b/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h index 3291fd97e3..03f71176bc 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h +++ b/sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h @@ -17,7 +17,6 @@ . */ #include -#include "kernel-features.h" #define SIGCONTEXT siginfo_t *_si, struct ucontext * #define GET_PC(ctx) ((void *) (ctx)->uc_mcontext.pc) diff --git a/sysdeps/unix/sysv/linux/aarch64/vfork.S b/sysdeps/unix/sysv/linux/aarch64/vfork.S index 316cb65e9b..6244aed31d 100644 --- a/sysdeps/unix/sysv/linux/aarch64/vfork.S +++ b/sysdeps/unix/sysv/linux/aarch64/vfork.S @@ -19,7 +19,6 @@ #include #define _ERRNO_H 1 #include -#include /* Clone the calling process, but without copying the whole address space. The calling process is suspended until the new process exits or is diff --git a/sysdeps/unix/sysv/linux/adjtime.c b/sysdeps/unix/sysv/linux/adjtime.c index ef31cc5c61..90300b5fbb 100644 --- a/sysdeps/unix/sysv/linux/adjtime.c +++ b/sysdeps/unix/sysv/linux/adjtime.c @@ -20,8 +20,6 @@ #include #include -#include - #define MAX_SEC (INT_MAX / 1000000L - 2) #define MIN_SEC (INT_MIN / 1000000L + 2) diff --git a/sysdeps/unix/sysv/linux/alpha/xstatconv.h b/sysdeps/unix/sysv/linux/alpha/xstatconv.h index 9b259778f6..25bc8ca3b0 100644 --- a/sysdeps/unix/sysv/linux/alpha/xstatconv.h +++ b/sysdeps/unix/sysv/linux/alpha/xstatconv.h @@ -16,7 +16,6 @@ License along with the GNU C Library. If not, see . */ -#include #include extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf) diff --git a/sysdeps/unix/sysv/linux/arm/sigaction.c b/sysdeps/unix/sysv/linux/arm/sigaction.c index e1d87cbc48..24a2774f8b 100644 --- a/sysdeps/unix/sysv/linux/arm/sigaction.c +++ b/sysdeps/unix/sysv/linux/arm/sigaction.c @@ -21,7 +21,6 @@ #include #include -#include /* The difference here is that the sigaction structure used in the kernel is not the same as we use in the libc. Therefore we must diff --git a/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h b/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h index 258703dc88..aae6bbdeee 100644 --- a/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h +++ b/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h @@ -17,7 +17,6 @@ . */ #include -#include "kernel-features.h" #define SIGCONTEXT siginfo_t *_si, struct ucontext * #define SIGCONTEXT_EXTRA_ARGS _si, diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c index e6a12edaa9..1bc1def72f 100644 --- a/sysdeps/unix/sysv/linux/check_pf.c +++ b/sysdeps/unix/sysv/linux/check_pf.c @@ -32,7 +32,6 @@ #include #include -#include #include #include #include diff --git a/sysdeps/unix/sysv/linux/clock_getcpuclockid.c b/sysdeps/unix/sysv/linux/clock_getcpuclockid.c index b1e3db578c..bf55679e91 100644 --- a/sysdeps/unix/sysv/linux/clock_getcpuclockid.c +++ b/sysdeps/unix/sysv/linux/clock_getcpuclockid.c @@ -19,7 +19,6 @@ #include #include #include -#include #include "kernel-posix-cpu-timers.h" int diff --git a/sysdeps/unix/sysv/linux/clock_getres.c b/sysdeps/unix/sysv/linux/clock_getres.c index e822b94d87..ff4b8f212c 100644 --- a/sysdeps/unix/sysv/linux/clock_getres.c +++ b/sysdeps/unix/sysv/linux/clock_getres.c @@ -20,7 +20,6 @@ #include #include #include "kernel-posix-cpu-timers.h" -#include #ifndef HAVE_CLOCK_GETRES_VSYSCALL # undef INTERNAL_VSYSCALL diff --git a/sysdeps/unix/sysv/linux/clock_gettime.c b/sysdeps/unix/sysv/linux/clock_gettime.c index a3182628d6..3183b7ea60 100644 --- a/sysdeps/unix/sysv/linux/clock_gettime.c +++ b/sysdeps/unix/sysv/linux/clock_gettime.c @@ -20,7 +20,6 @@ #include #include #include "kernel-posix-cpu-timers.h" -#include #ifndef HAVE_CLOCK_GETTIME_VSYSCALL # undef INTERNAL_VSYSCALL diff --git a/sysdeps/unix/sysv/linux/clock_nanosleep.c b/sysdeps/unix/sysv/linux/clock_nanosleep.c index 0597c5e1fd..174c0d0cc1 100644 --- a/sysdeps/unix/sysv/linux/clock_nanosleep.c +++ b/sysdeps/unix/sysv/linux/clock_nanosleep.c @@ -19,7 +19,6 @@ #include #include -#include #include "kernel-posix-cpu-timers.h" diff --git a/sysdeps/unix/sysv/linux/clock_settime.c b/sysdeps/unix/sysv/linux/clock_settime.c index 394c0a33ab..0448bfef69 100644 --- a/sysdeps/unix/sysv/linux/clock_settime.c +++ b/sysdeps/unix/sysv/linux/clock_settime.c @@ -20,7 +20,6 @@ #include #include "kernel-posix-cpu-timers.h" -#include #ifndef HAVE_CLOCK_GETRES_VSYSCALL # undef INTERNAL_VSYSCALL diff --git a/sysdeps/unix/sysv/linux/dl-execstack.c b/sysdeps/unix/sysv/linux/dl-execstack.c index 159fd96b52..8bac49765f 100644 --- a/sysdeps/unix/sysv/linux/dl-execstack.c +++ b/sysdeps/unix/sysv/linux/dl-execstack.c @@ -25,8 +25,6 @@ #include #include -#include - extern int __stack_prot attribute_relro attribute_hidden; diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h index fd82287f0a..eb9c377377 100644 --- a/sysdeps/unix/sysv/linux/dl-osinfo.h +++ b/sysdeps/unix/sysv/linux/dl-osinfo.h @@ -16,7 +16,6 @@ License along with the GNU C Library; if not, see . */ -#include #include #include #include diff --git a/sysdeps/unix/sysv/linux/dl-sysdep.c b/sysdeps/unix/sysv/linux/dl-sysdep.c index 28100742f5..27b09ddc65 100644 --- a/sysdeps/unix/sysv/linux/dl-sysdep.c +++ b/sysdeps/unix/sysv/linux/dl-sysdep.c @@ -24,7 +24,6 @@ #include #include #include -#include #ifdef SHARED # define DL_SYSDEP_INIT frob_brk () diff --git a/sysdeps/unix/sysv/linux/generic/futimesat.c b/sysdeps/unix/sysv/linux/generic/futimesat.c index 0e9c983fb1..eece2f92fa 100644 --- a/sysdeps/unix/sysv/linux/generic/futimesat.c +++ b/sysdeps/unix/sysv/linux/generic/futimesat.c @@ -24,7 +24,6 @@ #include #include #include -#include /* Change the access time of FILE relative to FD to TVP[0] and diff --git a/sysdeps/unix/sysv/linux/generic/poll.c b/sysdeps/unix/sysv/linux/generic/poll.c index 62342779c4..9639d5b2e9 100644 --- a/sysdeps/unix/sysv/linux/generic/poll.c +++ b/sysdeps/unix/sysv/linux/generic/poll.c @@ -22,8 +22,6 @@ #include #include -#include - int __poll (struct pollfd *fds, nfds_t nfds, int timeout) { diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c index 2637f03451..17ddcf68a8 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c @@ -23,7 +23,6 @@ #include #include -#include static int diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c index 94769b64e4..e93dd3a2b5 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c @@ -25,7 +25,6 @@ #include #include -#include #include "overflow.h" diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c index 2bffd1fbd9..d4863d6287 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c @@ -25,8 +25,6 @@ #include #include -#include - static ssize_t do_pread (int fd, void *buf, size_t count, off_t offset) { diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c index 093b874814..e50ac21858 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c @@ -24,8 +24,6 @@ #include #include -#include - static ssize_t do_pread64 (int fd, void *buf, size_t count, off64_t offset) { diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c index 1dae1272d0..19bbafb7b6 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c @@ -26,8 +26,6 @@ #include #include -#include - static ssize_t do_preadv (int fd, const struct iovec *vector, int count, off_t offset) { diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c index 32cc314047..c08c43ef84 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c @@ -25,8 +25,6 @@ #include #include -#include - static ssize_t do_preadv64 (int fd, const struct iovec *vector, int count, off64_t offset) { diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c index 909255bb7e..5f9b687386 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c @@ -25,8 +25,6 @@ #include #include -#include - static ssize_t do_pwrite (int fd, const void *buf, size_t count, off_t offset) { diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c index cbdb9e9a4e..ea8890e631 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c @@ -24,8 +24,6 @@ #include #include -#include - static ssize_t do_pwrite64 (int fd, const void *buf, size_t count, off64_t offset) { diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c index a166e32c3f..8f1d669c77 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c @@ -26,8 +26,6 @@ #include #include -#include - static ssize_t do_pwritev (int fd, const struct iovec *vector, int count, off_t offset) { diff --git a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c index 33f4e80e66..3101a487ed 100644 --- a/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c @@ -25,8 +25,6 @@ #include #include -#include - static ssize_t do_pwritev64 (int fd, const struct iovec *vector, int count, off64_t offset) { diff --git a/sysdeps/unix/sysv/linux/getcwd.c b/sysdeps/unix/sysv/linux/getcwd.c index ccf3bf25c6..a9abcefa4d 100644 --- a/sysdeps/unix/sysv/linux/getcwd.c +++ b/sysdeps/unix/sysv/linux/getcwd.c @@ -27,8 +27,6 @@ #include #include -#include - /* If we compile the file for use in ld.so we don't need the feature that getcwd() allocates the buffers itself. */ diff --git a/sysdeps/unix/sysv/linux/getpagesize.c b/sysdeps/unix/sysv/linux/getpagesize.c index 95050cca4d..7db7df1f89 100644 --- a/sysdeps/unix/sysv/linux/getpagesize.c +++ b/sysdeps/unix/sysv/linux/getpagesize.c @@ -20,7 +20,6 @@ #include #include -#include /* Return the system page size. */ int diff --git a/sysdeps/unix/sysv/linux/getsysstats.c b/sysdeps/unix/sysv/linux/getsysstats.c index 755c259862..2a81184409 100644 --- a/sysdeps/unix/sysv/linux/getsysstats.c +++ b/sysdeps/unix/sysv/linux/getsysstats.c @@ -34,7 +34,6 @@ #include #include -#include /* How we can determine the number of available processors depends on diff --git a/sysdeps/unix/sysv/linux/i386/fxstat.c b/sysdeps/unix/sysv/linux/i386/fxstat.c index 0eaaf25c0c..b2345aaf09 100644 --- a/sysdeps/unix/sysv/linux/i386/fxstat.c +++ b/sysdeps/unix/sysv/linux/i386/fxstat.c @@ -28,8 +28,6 @@ #include #include -#include - #include /* Get information about the file FD in BUF. */ diff --git a/sysdeps/unix/sysv/linux/i386/lxstat.c b/sysdeps/unix/sysv/linux/i386/lxstat.c index 61bcb0c4e5..911c366bbd 100644 --- a/sysdeps/unix/sysv/linux/i386/lxstat.c +++ b/sysdeps/unix/sysv/linux/i386/lxstat.c @@ -28,8 +28,6 @@ #include #include -#include - #include diff --git a/sysdeps/unix/sysv/linux/i386/mmap.S b/sysdeps/unix/sysv/linux/i386/mmap.S index 923c51b5b7..71f278a723 100644 --- a/sysdeps/unix/sysv/linux/i386/mmap.S +++ b/sysdeps/unix/sysv/linux/i386/mmap.S @@ -17,8 +17,6 @@ #include -#include - #define EINVAL 22 .text diff --git a/sysdeps/unix/sysv/linux/i386/mmap64.S b/sysdeps/unix/sysv/linux/i386/mmap64.S index c6fef0c079..97438f3fc3 100644 --- a/sysdeps/unix/sysv/linux/i386/mmap64.S +++ b/sysdeps/unix/sysv/linux/i386/mmap64.S @@ -17,8 +17,6 @@ #include -#include - #define EINVAL 22 #define ENOSYS 38 diff --git a/sysdeps/unix/sysv/linux/i386/sigaction.c b/sysdeps/unix/sysv/linux/i386/sigaction.c index a901bc6bce..778037aee8 100644 --- a/sysdeps/unix/sysv/linux/i386/sigaction.c +++ b/sysdeps/unix/sysv/linux/i386/sigaction.c @@ -26,8 +26,6 @@ #include #include -#include - /* The difference here is that the sigaction structure used in the kernel is not the same as we use in the libc. Therefore we must translate it here. */ diff --git a/sysdeps/unix/sysv/linux/i386/vfork.S b/sysdeps/unix/sysv/linux/i386/vfork.S index 2c3d4a3ee7..f295d366a7 100644 --- a/sysdeps/unix/sysv/linux/i386/vfork.S +++ b/sysdeps/unix/sysv/linux/i386/vfork.S @@ -19,7 +19,6 @@ #include #define _ERRNO_H 1 #include -#include #include diff --git a/sysdeps/unix/sysv/linux/i386/xstat.c b/sysdeps/unix/sysv/linux/i386/xstat.c index 593282d74b..f8a96c543b 100644 --- a/sysdeps/unix/sysv/linux/i386/xstat.c +++ b/sysdeps/unix/sysv/linux/i386/xstat.c @@ -28,8 +28,6 @@ #include #include -#include - #include diff --git a/sysdeps/unix/sysv/linux/ia64/system.c b/sysdeps/unix/sysv/linux/ia64/system.c index 7ac8afcb8d..498980fc70 100644 --- a/sysdeps/unix/sysv/linux/ia64/system.c +++ b/sysdeps/unix/sysv/linux/ia64/system.c @@ -15,8 +15,6 @@ License along with the GNU C Library; if not, see . */ -#include - /* We have to and actually can handle cancelable system(). The big problem: we have to kill the child process if necessary. To do this a cleanup handler has to be registered and is has to be able diff --git a/sysdeps/unix/sysv/linux/if_index.c b/sysdeps/unix/sysv/linux/if_index.c index f8948a4176..0fac763f9f 100644 --- a/sysdeps/unix/sysv/linux/if_index.c +++ b/sysdeps/unix/sysv/linux/if_index.c @@ -26,7 +26,6 @@ #include #include #include -#include #include "netlinkaccess.h" diff --git a/sysdeps/unix/sysv/linux/ifaddrs.c b/sysdeps/unix/sysv/linux/ifaddrs.c index 6deb09445b..2c04e172ce 100644 --- a/sysdeps/unix/sysv/linux/ifaddrs.c +++ b/sysdeps/unix/sysv/linux/ifaddrs.c @@ -32,7 +32,6 @@ #include #include #include -#include #include "netlinkaccess.h" diff --git a/sysdeps/unix/sysv/linux/ifreq.c b/sysdeps/unix/sysv/linux/ifreq.c index 58f51913a8..c404c8f165 100644 --- a/sysdeps/unix/sysv/linux/ifreq.c +++ b/sysdeps/unix/sysv/linux/ifreq.c @@ -17,7 +17,6 @@ . */ #include "ifreq.h" -#include void diff --git a/sysdeps/unix/sysv/linux/ldsodefs.h b/sysdeps/unix/sysv/linux/ldsodefs.h index a6bc5a9d31..cb35b9025e 100644 --- a/sysdeps/unix/sysv/linux/ldsodefs.h +++ b/sysdeps/unix/sysv/linux/ldsodefs.h @@ -18,8 +18,6 @@ #ifndef _LDSODEFS_H -#include - /* Get the real definitions. */ #include_next diff --git a/sysdeps/unix/sysv/linux/lutimes.c b/sysdeps/unix/sysv/linux/lutimes.c index 6a4a62a0e4..03d3a65036 100644 --- a/sysdeps/unix/sysv/linux/lutimes.c +++ b/sysdeps/unix/sysv/linux/lutimes.c @@ -22,7 +22,6 @@ #include #include #include -#include int diff --git a/sysdeps/unix/sysv/linux/m68k/vfork.S b/sysdeps/unix/sysv/linux/m68k/vfork.S index 30fa6289b7..0f56d5700d 100644 --- a/sysdeps/unix/sysv/linux/m68k/vfork.S +++ b/sysdeps/unix/sysv/linux/m68k/vfork.S @@ -19,7 +19,6 @@ #include #define _ERRNO_H 1 #include -#include #include /* Clone the calling process, but without copying the whole address space. diff --git a/sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S b/sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S index 6b7b81de4a..dfeb54a15e 100644 --- a/sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S +++ b/sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S @@ -19,7 +19,6 @@ #include #define _ERRNO_H 1 #include -#include #include /* Clone the calling process, but without copying the whole address space. diff --git a/sysdeps/unix/sysv/linux/mips/mips32/accept4.c b/sysdeps/unix/sysv/linux/mips/mips32/accept4.c index 344d521943..f81e33e283 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/accept4.c +++ b/sysdeps/unix/sysv/linux/mips/mips32/accept4.c @@ -24,7 +24,6 @@ #include #include -#include #undef __NR_socketcall diff --git a/sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c b/sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c index fa176e7e0b..5cdbac5ebe 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c +++ b/sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c @@ -23,7 +23,6 @@ #include #include -#include #undef __NR_socketcall diff --git a/sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c b/sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c index e7287de46e..d7cb3800c2 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c +++ b/sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c @@ -23,7 +23,6 @@ #include #include -#include #undef __NR_socketcall diff --git a/sysdeps/unix/sysv/linux/mips/pread.c b/sysdeps/unix/sysv/linux/mips/pread.c index 38fb06bfe3..aa485bd28f 100644 --- a/sysdeps/unix/sysv/linux/mips/pread.c +++ b/sysdeps/unix/sysv/linux/mips/pread.c @@ -27,8 +27,6 @@ #include #include -#include - #ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pread # error "__NR_pread and __NR_pread64 both defined???" diff --git a/sysdeps/unix/sysv/linux/mips/pread64.c b/sysdeps/unix/sysv/linux/mips/pread64.c index 9c2d5fd612..6712408963 100644 --- a/sysdeps/unix/sysv/linux/mips/pread64.c +++ b/sysdeps/unix/sysv/linux/mips/pread64.c @@ -26,8 +26,6 @@ #include #include -#include - #ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pread # error "__NR_pread and __NR_pread64 both defined???" diff --git a/sysdeps/unix/sysv/linux/mips/pwrite.c b/sysdeps/unix/sysv/linux/mips/pwrite.c index 426a534596..4e87be7044 100644 --- a/sysdeps/unix/sysv/linux/mips/pwrite.c +++ b/sysdeps/unix/sysv/linux/mips/pwrite.c @@ -27,8 +27,6 @@ #include #include -#include - #ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pwrite # error "__NR_pwrite and __NR_pwrite64 both defined???" diff --git a/sysdeps/unix/sysv/linux/mips/pwrite64.c b/sysdeps/unix/sysv/linux/mips/pwrite64.c index 6e12d5d00e..98a3186c62 100644 --- a/sysdeps/unix/sysv/linux/mips/pwrite64.c +++ b/sysdeps/unix/sysv/linux/mips/pwrite64.c @@ -26,8 +26,6 @@ #include #include -#include - #ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pwrite # error "__NR_pwrite and __NR_pwrite64 both defined???" diff --git a/sysdeps/unix/sysv/linux/mips/sigaction.c b/sysdeps/unix/sysv/linux/mips/sigaction.c index a8ba3fe97a..6b808a6cdf 100644 --- a/sysdeps/unix/sysv/linux/mips/sigaction.c +++ b/sysdeps/unix/sysv/linux/mips/sigaction.c @@ -25,8 +25,6 @@ #include -#include - /* The difference here is that the sigaction structure used in the kernel is not the same as we use in the libc. Therefore we must translate it here. */ diff --git a/sysdeps/unix/sysv/linux/mmap64.c b/sysdeps/unix/sysv/linux/mmap64.c index aa02eaa5f8..17804fc3bf 100644 --- a/sysdeps/unix/sysv/linux/mmap64.c +++ b/sysdeps/unix/sysv/linux/mmap64.c @@ -24,8 +24,6 @@ #include #include -#include - /* This is always 12, even on architectures where PAGE_SHIFT != 12. */ #if MMAP2_PAGE_SHIFT == -1 static int page_shift; diff --git a/sysdeps/unix/sysv/linux/netlinkaccess.h b/sysdeps/unix/sysv/linux/netlinkaccess.h index 29170167ac..5695cadc50 100644 --- a/sysdeps/unix/sysv/linux/netlinkaccess.h +++ b/sysdeps/unix/sysv/linux/netlinkaccess.h @@ -23,8 +23,6 @@ #include #include -#include - struct netlink_res { diff --git a/sysdeps/unix/sysv/linux/powerpc/chown.c b/sysdeps/unix/sysv/linux/powerpc/chown.c index cabca011bd..59c6147c25 100644 --- a/sysdeps/unix/sysv/linux/powerpc/chown.c +++ b/sysdeps/unix/sysv/linux/powerpc/chown.c @@ -23,8 +23,6 @@ #include #include -#include - /* Consider moving to syscalls.list. */ /* diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c index 354c4e0a49..e2955d85b6 100644 --- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c +++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c @@ -17,7 +17,6 @@ . */ #include -#include #include int __cache_line_size attribute_hidden; diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S index 0463810d4c..155f663029 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S @@ -19,7 +19,6 @@ #include #define _ERRNO_H 1 #include -#include #define CLONE_VM 0x00000100 #define CLONE_THREAD 0x00010000 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c index 7f65eaf407..770575845a 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c @@ -22,7 +22,6 @@ #include #include #include -#include const fenv_t * __fe_mask_env (void) diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c index 6f20b0597c..1da491270b 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c @@ -22,7 +22,6 @@ #include #include #include -#include #include const fenv_t * diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S index cab1fda878..9261626ad1 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S @@ -19,7 +19,6 @@ #include #include #include -#include #define __ASSEMBLY__ #include diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c index 35ac9c2159..33df944287 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c @@ -23,8 +23,6 @@ #include #include -#include - ssize_t __libc_pread (fd, buf, count, offset) int fd; diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c index 399419b83c..b6e478fdad 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c @@ -22,8 +22,6 @@ #include #include -#include - ssize_t __libc_pread64 (fd, buf, count, offset) diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c index 77d39cfcec..90e4c9d000 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c @@ -23,8 +23,6 @@ #include #include -#include - ssize_t __libc_pwrite (fd, buf, count, offset) diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c index 02e9919323..7f93ab7611 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c @@ -22,8 +22,6 @@ #include #include -#include - ssize_t __libc_pwrite64 (fd, buf, count, offset) diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S index ce0096772a..e9afdcd2b5 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S @@ -19,7 +19,6 @@ #include #include #include -#include #define __ASSEMBLY__ #include diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S index 007fab7562..b42f8b5540 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S @@ -19,7 +19,6 @@ #include #include #include -#include #define __ASSEMBLY__ #include diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S index 8a8433617f..82726419d6 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S @@ -18,7 +18,6 @@ #include #define _ERRNO_H 1 #include -#include #include /* Clone the calling process, but without copying the whole address space. diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c index 35fc58421a..bc1c038afe 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c @@ -21,7 +21,6 @@ #include #include #include -#include const fenv_t * __fe_mask_env (void) diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c index c6c156ce78..a5d4b5553e 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c @@ -21,7 +21,6 @@ #include #include #include -#include #include const fenv_t * diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S index 85ae1c8666..7294e26c68 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S @@ -19,7 +19,6 @@ #include #include #include -#include #define __ASSEMBLY__ #include diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S index e22f5a6955..82a8fc29a6 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S @@ -17,7 +17,6 @@ . */ #include -#include #define __ASSEMBLY__ #include diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c index 4824010bf7..d85ab90195 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c @@ -23,8 +23,6 @@ #include #include -#include - /* Consider moving to syscalls.list. */ diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c index 2f915805dc..5bdeada473 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c @@ -22,8 +22,6 @@ #include #include -#include - /* Consider moving to syscalls.list. */ diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c index cc62a50ea3..7577d2ecaa 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c @@ -23,8 +23,6 @@ #include #include -#include - /* Consider moving to syscalls.list. */ diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c index a8543977f2..26ea65a2ba 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c @@ -22,8 +22,6 @@ #include #include -#include - /* Consider moving to syscalls.list. */ diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S index 0cb84dcbaf..be125a29e6 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S @@ -19,7 +19,6 @@ #include #include #include -#include #define __ASSEMBLY__ #include diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S index 1d92eb456a..de2911edd3 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S @@ -19,7 +19,6 @@ #include #include #include -#include #define __ASSEMBLY__ #include diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S index 72e6da85a1..27995fd6a1 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S @@ -18,7 +18,6 @@ #include #define _ERRNO_H 1 #include -#include #include /* Clone the calling process, but without copying the whole address space. diff --git a/sysdeps/unix/sysv/linux/pread.c b/sysdeps/unix/sysv/linux/pread.c index 81de1951be..860efcb8ff 100644 --- a/sysdeps/unix/sysv/linux/pread.c +++ b/sysdeps/unix/sysv/linux/pread.c @@ -24,8 +24,6 @@ #include #include -#include - #ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pread # error "__NR_pread and __NR_pread64 both defined???" diff --git a/sysdeps/unix/sysv/linux/pread64.c b/sysdeps/unix/sysv/linux/pread64.c index 0bb2ec2f20..dc74dec118 100644 --- a/sysdeps/unix/sysv/linux/pread64.c +++ b/sysdeps/unix/sysv/linux/pread64.c @@ -23,8 +23,6 @@ #include #include -#include - #ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pread # error "__NR_pread and __NR_pread64 both defined???" diff --git a/sysdeps/unix/sysv/linux/prof-freq.c b/sysdeps/unix/sysv/linux/prof-freq.c index bc8ddcdd91..af4d39ad61 100644 --- a/sysdeps/unix/sysv/linux/prof-freq.c +++ b/sysdeps/unix/sysv/linux/prof-freq.c @@ -18,7 +18,6 @@ #include #include -#include #include diff --git a/sysdeps/unix/sysv/linux/pwrite.c b/sysdeps/unix/sysv/linux/pwrite.c index c4bcff79b3..87ec555ad9 100644 --- a/sysdeps/unix/sysv/linux/pwrite.c +++ b/sysdeps/unix/sysv/linux/pwrite.c @@ -24,8 +24,6 @@ #include #include -#include - #ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pwrite # error "__NR_pwrite and __NR_pwrite64 both defined???" diff --git a/sysdeps/unix/sysv/linux/pwrite64.c b/sysdeps/unix/sysv/linux/pwrite64.c index c1e1d47d1b..34408711b8 100644 --- a/sysdeps/unix/sysv/linux/pwrite64.c +++ b/sysdeps/unix/sysv/linux/pwrite64.c @@ -23,8 +23,6 @@ #include #include -#include - #ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pwrite # error "__NR_pwrite and __NR_pwrite64 both defined???" diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/mmap.S b/sysdeps/unix/sysv/linux/s390/s390-32/mmap.S index 8844d4272e..523f35c1bc 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/mmap.S +++ b/sysdeps/unix/sysv/linux/s390/s390-32/mmap.S @@ -17,7 +17,6 @@ . */ #include -#include #define EINVAL 22 diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S b/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S index e747beb59c..380cf850aa 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S +++ b/sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S @@ -17,7 +17,6 @@ . */ #include -#include #define EINVAL 22 #define ENOSYS 38 diff --git a/sysdeps/unix/sysv/linux/s390/system.c b/sysdeps/unix/sysv/linux/s390/system.c index f30e92cb6e..5f9de6aa6c 100644 --- a/sysdeps/unix/sysv/linux/s390/system.c +++ b/sysdeps/unix/sysv/linux/s390/system.c @@ -15,8 +15,6 @@ License along with the GNU C Library; if not, see . */ -#include - /* We have to and actually can handle cancelable system(). The big problem: we have to kill the child process if necessary. To do this a cleanup handler has to be registered and is has to be able diff --git a/sysdeps/unix/sysv/linux/sh/pread.c b/sysdeps/unix/sysv/linux/sh/pread.c index a2a37b11f3..bd2b3fdac5 100644 --- a/sysdeps/unix/sysv/linux/sh/pread.c +++ b/sysdeps/unix/sysv/linux/sh/pread.c @@ -24,8 +24,6 @@ #include #include -#include - #ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pread # error "__NR_pread and __NR_pread64 both defined???" diff --git a/sysdeps/unix/sysv/linux/sh/pread64.c b/sysdeps/unix/sysv/linux/sh/pread64.c index 5fd50c2e0e..853dab7227 100644 --- a/sysdeps/unix/sysv/linux/sh/pread64.c +++ b/sysdeps/unix/sysv/linux/sh/pread64.c @@ -23,8 +23,6 @@ #include #include -#include - #ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pread # error "__NR_pread and __NR_pread64 both defined???" diff --git a/sysdeps/unix/sysv/linux/sh/pwrite.c b/sysdeps/unix/sysv/linux/sh/pwrite.c index 887b36bc58..b51552596b 100644 --- a/sysdeps/unix/sysv/linux/sh/pwrite.c +++ b/sysdeps/unix/sysv/linux/sh/pwrite.c @@ -24,8 +24,6 @@ #include #include -#include - #ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pwrite # error "__NR_pwrite and __NR_pwrite64 both defined???" diff --git a/sysdeps/unix/sysv/linux/sh/pwrite64.c b/sysdeps/unix/sysv/linux/sh/pwrite64.c index bd557789f6..0050a8d15a 100644 --- a/sysdeps/unix/sysv/linux/sh/pwrite64.c +++ b/sysdeps/unix/sysv/linux/sh/pwrite64.c @@ -23,8 +23,6 @@ #include #include -#include - #ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pwrite # error "__NR_pwrite and __NR_pwrite64 both defined???" diff --git a/sysdeps/unix/sysv/linux/sigaction.c b/sysdeps/unix/sysv/linux/sigaction.c index 043d16486c..eaa517577f 100644 --- a/sysdeps/unix/sysv/linux/sigaction.c +++ b/sysdeps/unix/sysv/linux/sigaction.c @@ -22,8 +22,6 @@ #include #include -#include - /* The difference here is that the sigaction structure used in the kernel is not the same as we use in the libc. Therefore we must translate it here. */ diff --git a/sysdeps/unix/sysv/linux/sigpending.c b/sysdeps/unix/sysv/linux/sigpending.c index cffe0a6969..9cccb158cd 100644 --- a/sysdeps/unix/sysv/linux/sigpending.c +++ b/sysdeps/unix/sysv/linux/sigpending.c @@ -22,8 +22,6 @@ #include #include -#include - /* Change the set of blocked signals to SET, wait until a signal arrives, and restore the set of blocked signals. */ diff --git a/sysdeps/unix/sysv/linux/sigprocmask.c b/sysdeps/unix/sysv/linux/sigprocmask.c index 8199874cac..5148aa4f3d 100644 --- a/sysdeps/unix/sysv/linux/sigprocmask.c +++ b/sysdeps/unix/sysv/linux/sigprocmask.c @@ -24,7 +24,6 @@ #include #include /* SIGCANCEL, SIGSETXID */ -#include /* Get and/or change the set of blocked signals. */ diff --git a/sysdeps/unix/sysv/linux/sigsuspend.c b/sysdeps/unix/sysv/linux/sigsuspend.c index becdcc4eec..3b393ad329 100644 --- a/sysdeps/unix/sysv/linux/sigsuspend.c +++ b/sysdeps/unix/sysv/linux/sigsuspend.c @@ -22,8 +22,6 @@ #include #include -#include - static inline int __attribute__ ((always_inline)) do_sigsuspend (const sigset_t *set) diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c b/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c index 87cc988aa2..6a1ebd0048 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c @@ -21,7 +21,6 @@ #include #include #include -#include int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf) diff --git a/sysdeps/unix/sysv/linux/sparc/system.c b/sysdeps/unix/sysv/linux/sparc/system.c index c86e712120..5247d4d82c 100644 --- a/sysdeps/unix/sysv/linux/sparc/system.c +++ b/sysdeps/unix/sysv/linux/sparc/system.c @@ -15,8 +15,6 @@ License along with the GNU C Library; if not, see . */ -#include - /* We have to and actually can handle cancelable system(). The big problem: we have to kill the child process if necessary. To do this a cleanup handler has to be registered and is has to be able diff --git a/sysdeps/unix/sysv/linux/syslog.c b/sysdeps/unix/sysv/linux/syslog.c index d01a91ad66..cf8ce23385 100644 --- a/sysdeps/unix/sysv/linux/syslog.c +++ b/sysdeps/unix/sysv/linux/syslog.c @@ -1,5 +1,3 @@ -#include - #define NO_SIGPIPE #define send_flags MSG_NOSIGNAL diff --git a/sysdeps/unix/sysv/linux/system.c b/sysdeps/unix/sysv/linux/system.c index da0bda7c72..64a4e20051 100644 --- a/sysdeps/unix/sysv/linux/system.c +++ b/sysdeps/unix/sysv/linux/system.c @@ -22,7 +22,6 @@ #include #include #include -#include /* We have to and actually can handle cancelable system(). The big problem: we have to kill the child process if necessary. To do diff --git a/sysdeps/unix/sysv/linux/testrtsig.h b/sysdeps/unix/sysv/linux/testrtsig.h index 73f7e553f3..afeeb26ca4 100644 --- a/sysdeps/unix/sysv/linux/testrtsig.h +++ b/sysdeps/unix/sysv/linux/testrtsig.h @@ -20,8 +20,6 @@ #include #include -#include - static int kernel_has_rtsig (void) { diff --git a/sysdeps/unix/sysv/linux/timespec_get.c b/sysdeps/unix/sysv/linux/timespec_get.c index c4a86926e7..c26ec3f8e7 100644 --- a/sysdeps/unix/sysv/linux/timespec_get.c +++ b/sysdeps/unix/sysv/linux/timespec_get.c @@ -17,7 +17,6 @@ #include #include -#include #ifndef HAVE_CLOCK_GETTIME_VSYSCALL # undef INTERNAL_VSYSCALL diff --git a/sysdeps/unix/sysv/linux/ttyname.c b/sysdeps/unix/sysv/linux/ttyname.c index d257d25977..576d3021d8 100644 --- a/sysdeps/unix/sysv/linux/ttyname.c +++ b/sysdeps/unix/sysv/linux/ttyname.c @@ -27,7 +27,6 @@ #include #include <_itoa.h> -#include #if 0 /* Is this used anywhere? It is not exported. */ diff --git a/sysdeps/unix/sysv/linux/ttyname_r.c b/sysdeps/unix/sysv/linux/ttyname_r.c index 6ce85db33b..10a0baa123 100644 --- a/sysdeps/unix/sysv/linux/ttyname_r.c +++ b/sysdeps/unix/sysv/linux/ttyname_r.c @@ -27,7 +27,6 @@ #include #include <_itoa.h> -#include static int getttyname_r (char *buf, size_t buflen, dev_t mydev, ino64_t myino, int save, diff --git a/sysdeps/unix/sysv/linux/utimensat.c b/sysdeps/unix/sysv/linux/utimensat.c index 7ce34a0bfe..6c48ff2baa 100644 --- a/sysdeps/unix/sysv/linux/utimensat.c +++ b/sysdeps/unix/sysv/linux/utimensat.c @@ -20,8 +20,6 @@ #include #include -#include - /* Change the access time of FILE to TSP[0] and the modification time of FILE to TSP[1]. diff --git a/sysdeps/unix/sysv/linux/x86_64/sigaction.c b/sysdeps/unix/sysv/linux/x86_64/sigaction.c index ab2398580f..6735b70c10 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sigaction.c +++ b/sysdeps/unix/sysv/linux/x86_64/sigaction.c @@ -25,8 +25,6 @@ #include #include -#include - /* The difference here is that the sigaction structure used in the kernel is not the same as we use in the libc. Therefore we must translate it here. */ diff --git a/sysdeps/unix/sysv/linux/xstatconv.h b/sysdeps/unix/sysv/linux/xstatconv.h index b8588b1e12..04e89ac233 100644 --- a/sysdeps/unix/sysv/linux/xstatconv.h +++ b/sysdeps/unix/sysv/linux/xstatconv.h @@ -16,8 +16,6 @@ License along with the GNU C Library; if not, see . */ -#include - #ifndef STAT_IS_KERNEL_STAT extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf); extern int __xstat64_conv (int vers, struct kernel_stat *kbuf, void *ubuf); -- cgit 1.4.1