diff options
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/file.h | 2 | ||||
-rw-r--r-- | include/sys/gmon.h | 2 | ||||
-rw-r--r-- | include/sys/ioctl.h | 2 | ||||
-rw-r--r-- | include/sys/mman.h | 2 | ||||
-rw-r--r-- | include/sys/resource.h | 2 | ||||
-rw-r--r-- | include/sys/select.h | 2 | ||||
-rw-r--r-- | include/sys/socket.h | 2 | ||||
-rw-r--r-- | include/sys/statfs.h | 2 | ||||
-rw-r--r-- | include/sys/time.h | 2 | ||||
-rw-r--r-- | include/sys/times.h | 2 | ||||
-rw-r--r-- | include/sys/wait.h | 2 |
11 files changed, 22 insertions, 0 deletions
diff --git a/include/sys/file.h b/include/sys/file.h index ec7f3de..c3f0af3 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 2e56188..492d853 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 e07b08a..4d21030 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 3a6c33a..32c2084 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 36950e2..ec53c18 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 860b013..be98aa2 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 a319272..4766c20 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 bb4999e..80c8834 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 fd9f467..5f53e96 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 95162b8..611bb2f 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 eefc14d..5ecce41 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 |