From 097487fef878799882bd444218cef836794abc5f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 27 Nov 2004 20:38:06 +0000 Subject: Update. 2004-11-26 Jakub Jelinek * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR. 2004-11-26 Kaz Kojima * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include sgidefs.h twice. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. --- sysdeps/unix/sysv/linux/mips/pread.c | 5 ++--- sysdeps/unix/sysv/linux/mips/pread64.c | 5 ++--- sysdeps/unix/sysv/linux/mips/pwrite.c | 5 ++--- sysdeps/unix/sysv/linux/mips/pwrite64.c | 2 ++ 4 files changed, 8 insertions(+), 9 deletions(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/mips/pread.c b/sysdeps/unix/sysv/linux/mips/pread.c index d0947bea42..eff7d473d0 100644 --- a/sysdeps/unix/sysv/linux/mips/pread.c +++ b/sysdeps/unix/sysv/linux/mips/pread.c @@ -20,7 +20,9 @@ #include #include +#ifndef NO_SGIDEFS_H #include +#endif #include #include @@ -29,9 +31,6 @@ #include #include -#ifndef NO_SGIDEFS_H -#include -#endif #ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pread diff --git a/sysdeps/unix/sysv/linux/mips/pread64.c b/sysdeps/unix/sysv/linux/mips/pread64.c index e8a45da5b1..d8763acabb 100644 --- a/sysdeps/unix/sysv/linux/mips/pread64.c +++ b/sysdeps/unix/sysv/linux/mips/pread64.c @@ -19,7 +19,9 @@ 02111-1307 USA. */ #include +#ifndef NO_SGIDEFS_H #include +#endif #include #include @@ -28,9 +30,6 @@ #include #include -#ifndef NO_SGIDEFS_H -#include -#endif #ifdef __NR_pread64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pread diff --git a/sysdeps/unix/sysv/linux/mips/pwrite.c b/sysdeps/unix/sysv/linux/mips/pwrite.c index 130515af6d..4378ebc859 100644 --- a/sysdeps/unix/sysv/linux/mips/pwrite.c +++ b/sysdeps/unix/sysv/linux/mips/pwrite.c @@ -20,7 +20,9 @@ #include #include +#ifndef NO_SGIDEFS_H #include +#endif #include #include @@ -29,9 +31,6 @@ #include #include -#ifndef NO_SGIDEFS_H -#include -#endif #ifdef __NR_pwrite64 /* Newer kernels renamed but it's the same. */ # ifdef __NR_pwrite diff --git a/sysdeps/unix/sysv/linux/mips/pwrite64.c b/sysdeps/unix/sysv/linux/mips/pwrite64.c index e4908fa779..e5853e432e 100644 --- a/sysdeps/unix/sysv/linux/mips/pwrite64.c +++ b/sysdeps/unix/sysv/linux/mips/pwrite64.c @@ -19,7 +19,9 @@ 02111-1307 USA. */ #include +#ifndef NO_SGIDEFS_H #include +#endif #include #include -- cgit 1.4.1