From c19559b0bcec2afce4952ea4bbc8724a7a99bd6a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 23 Nov 1999 17:22:17 +0000 Subject: Update. * include/aio.h: Remove __THROW from internal interfaces. __THROW is only need in external header files that might be compiled by a C++ compiler. * include/alloca.h: Likewise. * include/db.h: Likewise. * include/dirent.h: Likewise. * include/execinfo.h: Likewise. * include/fpu_control.h: Likewise. * include/glob.h: Likewise. * include/grp.h: Likewise. * include/libintl.h: Likewise. * include/math.h: Likewise. * include/math.h: Likewise. * include/mntent.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/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. 1999-11-22 Andreas Jaeger * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output. Patch by Jerry Perkins , closes PR libc/1456+1457. 1999-11-22 Jakub Jelinek * sysdeps/generic/siglist.h: Avoid declaring the same field twice if SIGPWR is defined to SIGLOST. * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument, not signed, so we should not special case it for negative args. * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic memmove, use the one provided in memcpy.S. * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping copies like memmove, while the previous version worked like memcpy. Implement optimized assembly memmove. * sysdeps/sparc/sparc64/memmove.c: New file. 1999-11-23 Ulrich Drepper * po/cs.po: Update from translators. 1999-11-23 Andreas Jaeger --- include/sys/file.h | 2 +- include/sys/gmon.h | 4 ++-- include/sys/ioctl.h | 2 +- include/sys/socket.h | 2 +- include/sys/stat.h | 16 ++++++++-------- include/sys/sysinfo.h | 8 ++++---- include/sys/time.h | 12 ++++++------ include/sys/times.h | 2 +- include/sys/uio.h | 4 ++-- include/sys/wait.h | 6 +++--- 10 files changed, 29 insertions(+), 29 deletions(-) (limited to 'include/sys') diff --git a/include/sys/file.h b/include/sys/file.h index 3dac129f61..e73a4d1c94 100644 --- a/include/sys/file.h +++ b/include/sys/file.h @@ -2,5 +2,5 @@ #include /* Now define the internal interfaces. */ -extern int __flock (int __fd, int __operation) __THROW; +extern int __flock (int __fd, int __operation); #endif diff --git a/include/sys/gmon.h b/include/sys/gmon.h index 5767759901..c95cb3c355 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 (void) __THROW; -extern void write_profiling (void) __THROW; +extern void __write_profiling (void); +extern void write_profiling (void); #endif diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h index bc1e6d6b6f..ebadd526b9 100644 --- a/include/sys/ioctl.h +++ b/include/sys/ioctl.h @@ -2,5 +2,5 @@ #include /* Now define the internal interfaces. */ -extern int __ioctl (int __fd, unsigned long int __request, ...) __THROW; +extern int __ioctl (int __fd, unsigned long int __request, ...); #endif diff --git a/include/sys/socket.h b/include/sys/socket.h index dadd866613..2e91fb3e0a 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -2,7 +2,7 @@ #include /* Now define the internal interfaces. */ -extern int __socket (int __domain, int __type, int __protocol) __THROW; +extern int __socket (int __domain, int __type, int __protocol); /* Return a socket of any type. The socket can be used in subsequent ioctl calls to talk to the kernel. */ diff --git a/include/sys/stat.h b/include/sys/stat.h index 09e3964e23..db0bd8f03d 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -2,15 +2,15 @@ #include /* Now define the internal interfaces. */ -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 __stat (__const char *__file, struct stat *__buf); +extern int __fstat (int __fd, struct stat *__buf); +extern int __lstat (__const char *__file, struct stat *__buf); +extern int __chmod (__const char *__file, __mode_t __mode); +extern int __fchmod (int __fd, __mode_t __mode); +extern __mode_t __umask (__mode_t __mask); +extern int __mkdir (__const char *__path, __mode_t __mode); extern int __mknod (__const char *__path, - __mode_t __mode, __dev_t __dev) __THROW; + __mode_t __mode, __dev_t __dev); 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 c06c3ab0cb..69e904523b 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 (void) __THROW; +extern int __get_nprocs_conf (void); /* Return number of available processors. */ -extern int __get_nprocs (void) __THROW; +extern int __get_nprocs (void); /* Return number of physical pages of memory in the system. */ -extern int __get_phys_pages (void) __THROW; +extern int __get_phys_pages (void); /* Return number of available physical pages of memory in the system. */ -extern int __get_avphys_pages (void) __THROW; +extern int __get_avphys_pages (void); #endif /* sys/sysinfo.h */ diff --git a/include/sys/time.h b/include/sys/time.h index a28142002b..1f24827e71 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -3,15 +3,15 @@ /* Now document the internal interfaces. */ extern int __gettimeofday (struct timeval *__tv, - struct timezone *__tz) __THROW; + struct timezone *__tz); extern int __settimeofday (__const struct timeval *__tv, - __const struct timezone *__tz) __THROW; + __const struct timezone *__tz); extern int __adjtime (__const struct timeval *__delta, - struct timeval *__olddelta) __THROW; + struct timeval *__olddelta); extern int __getitimer (enum __itimer_which __which, - struct itimerval *__value) __THROW; + struct itimerval *__value); 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; + struct itimerval *__old); +extern int __utimes (__const char *__file, struct timeval __tvp[2]); #endif diff --git a/include/sys/times.h b/include/sys/times.h index 24f9fdad9f..6ad39fb8c5 100644 --- a/include/sys/times.h +++ b/include/sys/times.h @@ -2,5 +2,5 @@ #include /* Now define the internal interfaces. */ -extern clock_t __times (struct tms *__buffer) __THROW; +extern clock_t __times (struct tms *__buffer); #endif diff --git a/include/sys/uio.h b/include/sys/uio.h index 94ed4af042..09bdce2b22 100644 --- a/include/sys/uio.h +++ b/include/sys/uio.h @@ -3,7 +3,7 @@ /* Now define the internal interfaces. */ extern ssize_t __readv (int __fd, __const struct iovec *__vector, - int __count) __THROW; + int __count); extern ssize_t __writev (int __fd, __const struct iovec *__vector, - int __count) __THROW; + int __count); #endif diff --git a/include/sys/wait.h b/include/sys/wait.h index 4b41bc8ef0..9244c30bcc 100644 --- a/include/sys/wait.h +++ b/include/sys/wait.h @@ -3,9 +3,9 @@ /* Now define the internal interfaces. */ extern __pid_t __waitpid (__pid_t __pid, int *__stat_loc, - int __options) __THROW; + int __options); extern __pid_t __wait3 (__WAIT_STATUS __stat_loc, - int __options, struct rusage * __usage) __THROW; + int __options, struct rusage * __usage); extern __pid_t __wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, - int __options, struct rusage *__usage) __THROW; + int __options, struct rusage *__usage); #endif -- cgit v1.2.3