aboutsummaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-06 23:45:24 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-06 23:45:24 +0000
commit6796bc807aa3808f6afb5da42932e437bdd183cf (patch)
treef0610b5aebf183e95afb9f70c30d77ea82f9ef9e /include/sys
parentbaa3334acc20834b32be1abf96f5942367c31a06 (diff)
downloadglibc-6796bc807aa3808f6afb5da42932e437bdd183cf.tar
glibc-6796bc807aa3808f6afb5da42932e437bdd183cf.tar.gz
glibc-6796bc807aa3808f6afb5da42932e437bdd183cf.tar.bz2
glibc-6796bc807aa3808f6afb5da42932e437bdd183cf.zip
Update.
1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> * Makeconfig (+gccwarn): Remove -Wno-parentheses. * elf/dl-open.c: Quiet -Wparentheses warnings. * iconvdata/johab.c: Likewise. * iconvdata/uhc.c: Likewise. * inet/inet_net.c: Likewise. * io/fts.c: Likewise. * locale/newlocale.c: Likewise. * misc/getttyent.c: Likewise. * misc/mntent_r.c: Likewise. * misc/ttyslot.c: Likewise. * nscd/nscd_conf.c: Likewise. * nss/nsswitch.c: Likewise. * resolv/gethnamaddr.c: Likewise. * resolv/nsap_addr.c: Likewise. * resolv/res_debug.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdlib/strtod.c: Likewise. * string/strverscmp.c: Likewise. * sunrpc/svc.c: Likewise. * sysdeps/libm-ieee754/e_cosh.c: Likewise. * sysdeps/libm-ieee754/e_gamma_r.c: Likewise. * sysdeps/libm-ieee754/e_sinh.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. * include/dlfcn.h: Likewise. * elf/dlfcn.h: Declare dladdr only for __USE_GNU. Define RTLD_DEFAULT.
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/file.h2
-rw-r--r--include/sys/gmon.h2
-rw-r--r--include/sys/ioctl.h2
-rw-r--r--include/sys/mman.h2
-rw-r--r--include/sys/resource.h2
-rw-r--r--include/sys/select.h2
-rw-r--r--include/sys/socket.h2
-rw-r--r--include/sys/statfs.h2
-rw-r--r--include/sys/time.h2
-rw-r--r--include/sys/times.h2
-rw-r--r--include/sys/wait.h2
11 files changed, 22 insertions, 0 deletions
diff --git a/include/sys/file.h b/include/sys/file.h
index ec7f3de73d..c3f0af3710 100644
--- a/include/sys/file.h
+++ b/include/sys/file.h
@@ -1,4 +1,6 @@
+#ifndef _SYS_FILE_H
#include <misc/sys/file.h>
/* Now define the internal interfaces. */
extern int __flock __P ((int __fd, int __operation));
+#endif
diff --git a/include/sys/gmon.h b/include/sys/gmon.h
index 2e56188027..492d853f8e 100644
--- a/include/sys/gmon.h
+++ b/include/sys/gmon.h
@@ -1,3 +1,4 @@
+#ifndef _SYS_GMON_H
#include <gmon/sys/gmon.h>
/* Now define the internal interfaces. */
@@ -5,3 +6,4 @@
/* Write current profiling data to file. */
extern void __write_profiling __P ((void));
extern void write_profiling __P ((void));
+#endif
diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h
index e07b08a64f..4d21030ed9 100644
--- a/include/sys/ioctl.h
+++ b/include/sys/ioctl.h
@@ -1,4 +1,6 @@
+#ifndef _SYS_IOCTL_H
#include <misc/sys/ioctl.h>
/* Now define the internal interfaces. */
extern int __ioctl __P ((int __fd, unsigned long int __request, ...));
+#endif
diff --git a/include/sys/mman.h b/include/sys/mman.h
index 3a6c33a354..32c2084bdd 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -1,3 +1,4 @@
+#ifndef _SYS_MMAN_H
#include_next <sys/mman.h>
/* Now define the internal interfaces. */
@@ -11,3 +12,4 @@ extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot));
/* This one is Linux specific. */
extern __ptr_t __mremap __P ((__ptr_t __addr, size_t __old_len,
size_t __new_len, int __may_move));
+#endif
diff --git a/include/sys/resource.h b/include/sys/resource.h
index 36950e2f10..ec53c188f9 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -1,6 +1,8 @@
+#ifndef _SYS_RESOURCE_H
#include <resource/sys/resource.h>
/* Now define the internal interfaces. */
extern int __getrlimit __P ((enum __rlimit_resource __resource,
struct rlimit *__rlimits));
extern int __getrusage __P ((enum __rusage_who __who, struct rusage *__usage));
+#endif
diff --git a/include/sys/select.h b/include/sys/select.h
index 860b01347d..be98aa2eb4 100644
--- a/include/sys/select.h
+++ b/include/sys/select.h
@@ -1,6 +1,8 @@
+#ifndef _SYS_SELECT_H
#include <misc/sys/select.h>
/* Now define the internal interfaces. */
extern int __pselect __P ((int __nfds, __fd_set *__readfds,
__fd_set *__writefds, __fd_set *__exceptfds,
struct timespec *__timeout));
+#endif
diff --git a/include/sys/socket.h b/include/sys/socket.h
index a319272b55..4766c206d8 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -1,4 +1,6 @@
+#ifndef _SYS_SOCKET_H
#include <socket/sys/socket.h>
/* Now define the internal interfaces. */
extern int __socket __P ((int __domain, int __type, int __protocol));
+#endif
diff --git a/include/sys/statfs.h b/include/sys/statfs.h
index bb4999e2a3..80c8834be4 100644
--- a/include/sys/statfs.h
+++ b/include/sys/statfs.h
@@ -1,5 +1,7 @@
+#ifndef _SYS_STATFS_H
#include <io/sys/statfs.h>
/* Now define the internal interfaces. */
extern int __statfs __P ((__const char *__file, struct statfs *__buf));
extern int __fstatfs __P ((int __fildes, struct statfs *__buf));
+#endif
diff --git a/include/sys/time.h b/include/sys/time.h
index fd9f46778d..5f53e967f6 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -1,3 +1,4 @@
+#ifndef _SYS_TIME_H
#include <time/sys/time.h>
/* Now document the internal interfaces. */
@@ -11,3 +12,4 @@ extern int __setitimer __P ((enum __itimer_which __which,
__const struct itimerval *__new,
struct itimerval *__old));
extern int __utimes __P ((__const char *__file, struct timeval __tvp[2]));
+#endif
diff --git a/include/sys/times.h b/include/sys/times.h
index 95162b8931..611bb2fdc9 100644
--- a/include/sys/times.h
+++ b/include/sys/times.h
@@ -1,4 +1,6 @@
+#ifndef _SYS_TIMES_H
#include <posix/sys/times.h>
/* Now define the internal interfaces. */
extern clock_t __times __P ((struct tms *__buffer));
+#endif
diff --git a/include/sys/wait.h b/include/sys/wait.h
index eefc14d705..5ecce413ef 100644
--- a/include/sys/wait.h
+++ b/include/sys/wait.h
@@ -1,3 +1,4 @@
+#ifndef _SYS_WAIT_H
#include <posix/sys/wait.h>
/* Now define the internal interfaces. */
@@ -7,3 +8,4 @@ extern __pid_t __wait3 __P ((__WAIT_STATUS __stat_loc,
int __options, struct rusage * __usage));
extern __pid_t __wait4 __P ((__pid_t __pid, __WAIT_STATUS __stat_loc,
int __options, struct rusage *__usage));
+#endif