OSDN Git Service

- revert wrong r24049
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 15 Nov 2008 15:42:40 +0000 (15:42 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 15 Nov 2008 15:42:40 +0000 (15:42 -0000)
30 files changed:
Makefile.in
include/sched.h
include/sys/mman.h
include/sys/sysinfo.h
include/unistd.h
libc/sysdeps/linux/alpha/bits/fcntl.h
libc/sysdeps/linux/arm/bits/fcntl.h
libc/sysdeps/linux/avr32/bits/fcntl.h
libc/sysdeps/linux/bfin/bits/fcntl.h
libc/sysdeps/linux/cris/bits/fcntl.h
libc/sysdeps/linux/e1/bits/fcntl.h
libc/sysdeps/linux/frv/bits/fcntl.h
libc/sysdeps/linux/h8300/bits/fcntl.h
libc/sysdeps/linux/hppa/bits/fcntl.h
libc/sysdeps/linux/i386/bits/fcntl.h
libc/sysdeps/linux/i960/bits/fcntl.h
libc/sysdeps/linux/ia64/bits/fcntl.h
libc/sysdeps/linux/m68k/bits/fcntl.h
libc/sysdeps/linux/microblaze/bits/fcntl.h
libc/sysdeps/linux/mips/bits/fcntl.h
libc/sysdeps/linux/nios/bits/fcntl.h
libc/sysdeps/linux/nios2/bits/fcntl.h
libc/sysdeps/linux/powerpc/bits/fcntl.h
libc/sysdeps/linux/sh/bits/fcntl.h
libc/sysdeps/linux/sh64/bits/fcntl.h
libc/sysdeps/linux/sparc/bits/fcntl.h
libc/sysdeps/linux/v850/bits/fcntl.h
libc/sysdeps/linux/vax/bits/fcntl.h
libc/sysdeps/linux/x86_64/bits/fcntl.h
libc/sysdeps/linux/xtensa/bits/fcntl.h

index 174daca..b115eb2 100644 (file)
@@ -315,13 +315,7 @@ ifneq ($(UCLIBC_LINUX_SPECIFIC),y)
        $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/inotify.h
        $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/perm.h
        $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/personality.h
-       $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/prctl.h
-       $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/reboot.h
-       $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/sendfile.h
-       $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/fsuid.h
        $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/signalfd.h
-       $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/swap.h
-       $(RM) $(PREFIX)$(DEVEL_PREFIX)include/sys/sysctl.h
 endif
 ifneq ($(UCLIBC_SV4_DEPRECATED),y)
        # Remove ustat.h since deprecated SV4 support was disabled upon request
index 5f3bd8f..7cfdbf1 100644 (file)
@@ -63,7 +63,7 @@ extern int sched_get_priority_min (int __algorithm) __THROW;
 extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Access macros for `cpu_set'.  */
 #define CPU_SETSIZE __CPU_SETSIZE
 #define CPU_SET(cpu, cpusetp)  __CPU_SET (cpu, cpusetp)
index 7640955..10471e6 100644 (file)
@@ -157,13 +157,11 @@ extern int mincore (void *__start, size_t __len, unsigned char *__vec)
 extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
                     int __flags, ...) __THROW;
 
-#ifdef __UCLIBC_LINUX_SPECIFIC__
 /* Remap arbitrary pages of a shared backing store within an existing
    VMA.  */
 extern int remap_file_pages (void *__start, size_t __size, int __prot,
                             size_t __pgoff, int __flags) __THROW;
 #endif
-#endif
 
 
 /* Open shared memory segment.  */
index 489f56b..9fd4fa8 100644 (file)
@@ -48,7 +48,7 @@ __BEGIN_DECLS
 /* Returns information on overall system statistics.  */
 extern int sysinfo (struct sysinfo *__info) __THROW;
 
-#if 0
+
 /* Return number of configured processors.  */
 extern int get_nprocs_conf (void) __THROW;
 
@@ -61,7 +61,6 @@ extern long int get_phys_pages (void) __THROW;
 
 /* Return number of available physical pages of memory in the system.  */
 extern long int get_avphys_pages (void) __THROW;
-#endif
 
 __END_DECLS
 
index f981d21..164f289 100644 (file)
@@ -869,12 +869,10 @@ extern int setdomainname (__const char *__name, size_t __len)
      __THROW __nonnull ((1)) __wur;
 #endif
 
-#if defined __UCLIBC_LINUX_SPECIFIC__
 /* Revoke access permissions to all processes currently communicating
    with the control terminal, and then send a SIGHUP signal to the process
    group of the control terminal.  */
 extern int vhangup (void) __THROW;
-#endif
 
 #if 0
 /* Revoke the access of all descriptors currently open on FILE.  */
index c2d4c8d..85e0fca 100644 (file)
@@ -159,6 +159,7 @@ struct flock64
   };
 #endif
 
+
 /* Define some more compatibility macros to be backward compatible with
    BSD systems which did not managed to hide these kernel macros.  */
 #ifdef __USE_BSD
@@ -180,7 +181,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -229,4 +230,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 02d98eb..01d2d3d 100644 (file)
@@ -189,7 +189,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -237,4 +237,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 2301e22..df3eae8 100644 (file)
@@ -167,8 +167,8 @@ struct flock64 {
 # define POSIX_FADV_NOREUSE     5 /* Data will be accessed once.  */
 #endif
 
+#ifdef __USE_GNU
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing
index be96eb3..7e32a04 100644 (file)
@@ -185,7 +185,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -234,4 +234,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index d0fefd4..2637a6b 100644 (file)
@@ -186,7 +186,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -235,4 +235,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 7796b5e..87d1939 100644 (file)
@@ -182,7 +182,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -231,4 +231,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 70b729c..49da627 100644 (file)
@@ -164,7 +164,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -213,4 +213,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 7796b5e..87d1939 100644 (file)
@@ -182,7 +182,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -231,4 +231,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 58fcb29..c6aaa3a 100644 (file)
@@ -176,7 +176,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -225,4 +225,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 257af51..0b53b45 100644 (file)
@@ -189,7 +189,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -238,4 +238,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 0d35f5a..a8efa57 100644 (file)
@@ -182,7 +182,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -231,4 +231,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index d7c5a4a..2a4b9ca 100644 (file)
@@ -161,6 +161,7 @@ struct flock64
   };
 #endif
 
+
 /* Define some more compatibility macros to be backward compatible with
    BSD systems which did not managed to hide these kernel macros.  */
 #ifdef __USE_BSD
@@ -182,7 +183,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -231,4 +232,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 52a7ff0..37e99f9 100644 (file)
@@ -185,7 +185,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -234,4 +234,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 7796b5e..87d1939 100644 (file)
@@ -182,7 +182,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -231,4 +231,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index f739c50..8967869 100644 (file)
@@ -209,7 +209,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -258,4 +258,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index abcc492..9fc29cd 100644 (file)
@@ -185,7 +185,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -234,4 +234,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index be96eb3..7e32a04 100644 (file)
@@ -185,7 +185,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -234,4 +234,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index eb6118c..f26a25e 100644 (file)
@@ -189,7 +189,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -238,4 +238,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 762b9b0..93c41d2 100644 (file)
@@ -189,7 +189,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -238,4 +238,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 70b729c..49da627 100644 (file)
@@ -164,7 +164,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -213,4 +213,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 23b3d04..5739459 100644 (file)
@@ -208,7 +208,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -257,4 +257,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 7796b5e..87d1939 100644 (file)
@@ -182,7 +182,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -231,4 +231,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 91151fb..971245d 100644 (file)
@@ -162,7 +162,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -211,4 +211,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 48d49ad..42c790a 100644 (file)
@@ -203,7 +203,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -252,4 +252,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+
index 6895402..23de96c 100644 (file)
@@ -186,7 +186,7 @@ struct flock64
 #endif
 
 
-#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
+#ifdef __USE_GNU
 /* Flags for SYNC_FILE_RANGE.  */
 # define SYNC_FILE_RANGE_WAIT_BEFORE   1 /* Wait upon writeout of all pages
                                             in the range before performing the
@@ -235,4 +235,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
 
 #endif
 __END_DECLS
-#endif /* LINUX_SPECIFIC */
+