$(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
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)
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. */
/* 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;
/* Return number of available physical pages of memory in the system. */
extern long int get_avphys_pages (void) __THROW;
-#endif
__END_DECLS
__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. */
};
#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
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
# 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
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
};
#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
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+
#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
#endif
__END_DECLS
-#endif /* LINUX_SPECIFIC */
+