diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-19 13:53:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-19 13:53:34 +0000 |
commit | fe559c5e1ce629f94f1621c76f5cfd59d6028830 (patch) | |
tree | 8aff0f4deccf163242ad22f0dddcd2f2da238c26 /include/sys | |
parent | 8847214f239965f538e42a09d3d08ce8c700dea2 (diff) | |
download | glibc-fe559c5e1ce629f94f1621c76f5cfd59d6028830.tar.gz glibc-fe559c5e1ce629f94f1621c76f5cfd59d6028830.tar.xz glibc-fe559c5e1ce629f94f1621c76f5cfd59d6028830.zip |
Update.
1999-10-19 Andreas Jaeger <aj@suse.de> * include/bits/ipc.h: Remove K&R compatibility. * include/libintl.h: Likewise. * include/math.h: Likewise. * include/mntent.h: Likewise * include/netdb.h: Likewise. * include/pwd.h: Likewise. * include/sched.h: Likewise. * include/shadow.h: Likewise * include/stdlib.h: Likewise. * include/sys/file.h: Likewise. * include/sys/gmon.h: Likewise. * include/sys/ioctl.h: Likewise. * include/sys/mman.h: Likewise. * include/sys/resource.h: Likewise. * include/sys/socket.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/sysinfo.h: Likewise. * include/sys/time.h: Likewise. * include/sys/times.h: Likewise. * include/sys/uio.h: Likewise. * include/sys/wait.h: Likewise. * include/termios.h: Likewise. * include/time.h: Likewise. * include/ulimit.h: Likewise. * include/utmp.h: Likewise. * include/wchar.h: Likewise. * include/wctype.h: Likewise. 1999-10-19 Andreas Jaeger <aj@suse.de> * math/libm-test.inc: Remove one K&R compatibility. (main): Enable nexttoward_test. * math/gen-libm-test.pl (output_ulps): Output name of Ulps file to libm-test-ulps.h; pretty print output a bit. 1999-10-19 Andreas Jaeger <aj@suse.de> * iconv/iconv_prog.c (main): Set exit value in case that reading from stdin failed [PR libc/1404].
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/file.h | 2 | ||||
-rw-r--r-- | include/sys/gmon.h | 4 | ||||
-rw-r--r-- | include/sys/ioctl.h | 2 | ||||
-rw-r--r-- | include/sys/mman.h | 16 | ||||
-rw-r--r-- | include/sys/resource.h | 6 | ||||
-rw-r--r-- | include/sys/socket.h | 2 | ||||
-rw-r--r-- | include/sys/stat.h | 18 | ||||
-rw-r--r-- | include/sys/sysinfo.h | 8 | ||||
-rw-r--r-- | include/sys/time.h | 24 | ||||
-rw-r--r-- | include/sys/times.h | 2 | ||||
-rw-r--r-- | include/sys/uio.h | 8 | ||||
-rw-r--r-- | include/sys/wait.h | 12 |
12 files changed, 52 insertions, 52 deletions
diff --git a/include/sys/file.h b/include/sys/file.h index c3f0af3710..3dac129f61 100644 --- a/include/sys/file.h +++ b/include/sys/file.h @@ -2,5 +2,5 @@ #include <misc/sys/file.h> /* Now define the internal interfaces. */ -extern int __flock __P ((int __fd, int __operation)); +extern int __flock (int __fd, int __operation) __THROW; #endif diff --git a/include/sys/gmon.h b/include/sys/gmon.h index 492d853f8e..5767759901 100644 --- a/include/sys/gmon.h +++ b/include/sys/gmon.h @@ -4,6 +4,6 @@ /* Now define the internal interfaces. */ /* Write current profiling data to file. */ -extern void __write_profiling __P ((void)); -extern void write_profiling __P ((void)); +extern void __write_profiling (void) __THROW; +extern void write_profiling (void) __THROW; #endif diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h index 4d21030ed9..bc1e6d6b6f 100644 --- a/include/sys/ioctl.h +++ b/include/sys/ioctl.h @@ -2,5 +2,5 @@ #include <misc/sys/ioctl.h> /* Now define the internal interfaces. */ -extern int __ioctl __P ((int __fd, unsigned long int __request, ...)); +extern int __ioctl (int __fd, unsigned long int __request, ...) __THROW; #endif diff --git a/include/sys/mman.h b/include/sys/mman.h index 374de36211..a76c23688f 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -2,14 +2,14 @@ #include <misc/sys/mman.h> /* Now define the internal interfaces. */ -extern __ptr_t __mmap __P ((__ptr_t __addr, size_t __len, int __prot, - int __flags, int __fd, __off_t __offset)); -extern __ptr_t __mmap64 __P ((__ptr_t __addr, size_t __len, int __prot, - int __flags, int __fd, __off64_t __offset)); -extern int __munmap __P ((__ptr_t __addr, size_t __len)); -extern int __mprotect __P ((__ptr_t __addr, size_t __len, int __prot)); +extern void *__mmap (void *__addr, size_t __len, int __prot, + int __flags, int __fd, __off_t __offset) __THROW; +extern void *__mmap64 (void *__addr, size_t __len, int __prot, + int __flags, int __fd, __off64_t __offset) __THROW; +extern int __munmap (void *__addr, size_t __len) __THROW; +extern int __mprotect (void *__addr, size_t __len, int __prot) __THROW; /* This one is Linux specific. */ -extern __ptr_t __mremap __P ((__ptr_t __addr, size_t __old_len, - size_t __new_len, int __may_move)); +extern void *__mremap (void *__addr, size_t __old_len, + size_t __new_len, int __may_move) __THROW; #endif diff --git a/include/sys/resource.h b/include/sys/resource.h index ec53c188f9..e234cc0426 100644 --- a/include/sys/resource.h +++ b/include/sys/resource.h @@ -2,7 +2,7 @@ #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)); +extern int __getrlimit (enum __rlimit_resource __resource, + struct rlimit *__rlimits) __THROW; +extern int __getrusage (enum __rusage_who __who, struct rusage *__usage) __THROW; #endif diff --git a/include/sys/socket.h b/include/sys/socket.h index 4766c206d8..d6737f5b34 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -2,5 +2,5 @@ #include <socket/sys/socket.h> /* Now define the internal interfaces. */ -extern int __socket __P ((int __domain, int __type, int __protocol)); +extern int __socket (int __domain, int __type, int __protocol) __THROW; #endif diff --git a/include/sys/stat.h b/include/sys/stat.h index 768630fd34..09e3964e23 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -2,15 +2,15 @@ #include <io/sys/stat.h> /* Now define the internal interfaces. */ -extern int __stat __P ((__const char *__file, struct stat *__buf)); -extern int __fstat __P ((int __fd, struct stat *__buf)); -extern int __lstat __P ((__const char *__file, struct stat *__buf)); -extern int __chmod __P ((__const char *__file, __mode_t __mode)); -extern int __fchmod __P ((int __fd, __mode_t __mode)); -extern __mode_t __umask __P ((__mode_t __mask)); -extern int __mkdir __P ((__const char *__path, __mode_t __mode)); -extern int __mknod __P ((__const char *__path, - __mode_t __mode, __dev_t __dev)); +extern int __stat (__const char *__file, struct stat *__buf) __THROW; +extern int __fstat (int __fd, struct stat *__buf) __THROW; +extern int __lstat (__const char *__file, struct stat *__buf) __THROW; +extern int __chmod (__const char *__file, __mode_t __mode) __THROW; +extern int __fchmod (int __fd, __mode_t __mode) __THROW; +extern __mode_t __umask (__mode_t __mask) __THROW; +extern int __mkdir (__const char *__path, __mode_t __mode) __THROW; +extern int __mknod (__const char *__path, + __mode_t __mode, __dev_t __dev) __THROW; extern __inline__ int __stat (__const char *__path, struct stat *__statbuf) { return __xstat (_STAT_VER, __path, __statbuf); diff --git a/include/sys/sysinfo.h b/include/sys/sysinfo.h index 9d1549d225..c06c3ab0cb 100644 --- a/include/sys/sysinfo.h +++ b/include/sys/sysinfo.h @@ -4,15 +4,15 @@ /* Now we define the internal interface. */ /* Return number of configured processors. */ -extern int __get_nprocs_conf __P ((void)); +extern int __get_nprocs_conf (void) __THROW; /* Return number of available processors. */ -extern int __get_nprocs __P ((void)); +extern int __get_nprocs (void) __THROW; /* Return number of physical pages of memory in the system. */ -extern int __get_phys_pages __P ((void)); +extern int __get_phys_pages (void) __THROW; /* Return number of available physical pages of memory in the system. */ -extern int __get_avphys_pages __P ((void)); +extern int __get_avphys_pages (void) __THROW; #endif /* sys/sysinfo.h */ diff --git a/include/sys/time.h b/include/sys/time.h index a6e5ac1a6d..a28142002b 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -2,16 +2,16 @@ #include <time/sys/time.h> /* Now document the internal interfaces. */ -extern int __gettimeofday __P ((struct timeval *__tv, - struct timezone *__tz)); -extern int __settimeofday __P ((__const struct timeval *__tv, - __const struct timezone *__tz)); -extern int __adjtime __P ((__const struct timeval *__delta, - struct timeval *__olddelta)); -extern int __getitimer __P ((enum __itimer_which __which, - struct itimerval *__value)); -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])); +extern int __gettimeofday (struct timeval *__tv, + struct timezone *__tz) __THROW; +extern int __settimeofday (__const struct timeval *__tv, + __const struct timezone *__tz) __THROW; +extern int __adjtime (__const struct timeval *__delta, + struct timeval *__olddelta) __THROW; +extern int __getitimer (enum __itimer_which __which, + struct itimerval *__value) __THROW; +extern int __setitimer (enum __itimer_which __which, + __const struct itimerval *__new, + struct itimerval *__old) __THROW; +extern int __utimes (__const char *__file, struct timeval __tvp[2]) __THROW; #endif diff --git a/include/sys/times.h b/include/sys/times.h index 611bb2fdc9..24f9fdad9f 100644 --- a/include/sys/times.h +++ b/include/sys/times.h @@ -2,5 +2,5 @@ #include <posix/sys/times.h> /* Now define the internal interfaces. */ -extern clock_t __times __P ((struct tms *__buffer)); +extern clock_t __times (struct tms *__buffer) __THROW; #endif diff --git a/include/sys/uio.h b/include/sys/uio.h index a3f51e5f6c..94ed4af042 100644 --- a/include/sys/uio.h +++ b/include/sys/uio.h @@ -2,8 +2,8 @@ #include <misc/sys/uio.h> /* Now define the internal interfaces. */ -extern ssize_t __readv __P ((int __fd, __const struct iovec *__vector, - int __count)); -extern ssize_t __writev __P ((int __fd, __const struct iovec *__vector, - int __count)); +extern ssize_t __readv (int __fd, __const struct iovec *__vector, + int __count) __THROW; +extern ssize_t __writev (int __fd, __const struct iovec *__vector, + int __count) __THROW; #endif diff --git a/include/sys/wait.h b/include/sys/wait.h index 5ecce413ef..4b41bc8ef0 100644 --- a/include/sys/wait.h +++ b/include/sys/wait.h @@ -2,10 +2,10 @@ #include <posix/sys/wait.h> /* Now define the internal interfaces. */ -extern __pid_t __waitpid __P ((__pid_t __pid, int *__stat_loc, - int __options)); -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)); +extern __pid_t __waitpid (__pid_t __pid, int *__stat_loc, + int __options) __THROW; +extern __pid_t __wait3 (__WAIT_STATUS __stat_loc, + int __options, struct rusage * __usage) __THROW; +extern __pid_t __wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, + int __options, struct rusage *__usage) __THROW; #endif |