From 4d3a563f2ef4fce5590561162b5dfb6f18872414 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 19 Oct 1999 03:14:36 +0000 Subject: Update. 1999-10-18 Ulrich Drepper * scripts/config.sub: Update from latest autoconf version. * scripts/config.guess: Likewise. 1999-10-18 Andreas Jaeger * inet/arpa/inet.h: Remove K&R compatibility. * math/fenv.h: Likewise. 1999-10-18 Andreas Jaeger * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct kernel_sigaction): Remove K&R compatibility. * sysdeps/unix/sysv/linux/net/if.h: Likewise. * sysdeps/unix/sysv/linux/sys/acct.h: Likewise. * sysdeps/unix/sysv/linux/sys/fsuid.h: Likewise. * sysdeps/unix/sysv/linux/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sys/kdaemon.h: Likewise. * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. * sysdeps/unix/sysv/linux/sys/mount.h: Likewise. * sysdeps/unix/sysv/linux/sys/prctl.h: Likewise. * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. * sysdeps/unix/sysv/linux/sys/quota.h: Likewise. * sysdeps/unix/sysv/linux/sys/sendfile.h: Likewise. * sysdeps/unix/sysv/linux/sys/swap.h: Likewise. * sysdeps/unix/sysv/linux/sys/sysctl.h: Likewise. * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise. * sysdeps/unix/sysv/linux/sys/timex.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/perm.h: Likewise. 1999-10-18 Andreas Jaeger * iconv/iconv_prog.c (process_block): Save errno value from iconv call. Patch by Bruno Haible [libc/1402]. 1999-10-18 Ulrich Drepper * po/gl.po: New file. 1999-10-18 Andreas Schwab * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct namespace selection. 1999-10-18 Andreas Schwab * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid clash with the TERM environment variable. 1999-10-18 Andreas Jaeger * sysdeps/generic/s_cproj.c (__cproj): Fix bug: NaN + i NaN returns now NaN + i NaN. * sysdeps/generic/s_cprojf.c (__cprojf): Likewise * sysdeps/generic/s_cprojl.c (__cprojl): Likewise. 1999-10-18 Andreas Jaeger * include/aio.h: Remove K&R compatiblity. * include/alloca.h: Likewise. * include/db.h: Likewise. * include/dirent.h: Likewise. * include/fcntl.h: Likewise. * include/fpu_control.h: Likewise. * include/glob.h: Likewise. * include/grp.h: Likewise. * sysdeps/unix/sysv/linux/bits/errno.h: Likewise. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * include/execinfo.h: Add __THROW. 1999-10-18 Ulrich Drepper * sysdeps/mips/Implies: Remove wordsize-32 reference. * sysdeps/mips/mips3/Implies: Add it here. --- include/aio.h | 2 +- include/alloca.h | 2 +- include/db.h | 5 +++-- include/dirent.h | 16 ++++++++-------- include/execinfo.h | 6 +++--- include/fcntl.h | 2 +- include/fpu_control.h | 2 +- include/glob.h | 2 +- include/grp.h | 22 +++++++++++----------- 9 files changed, 30 insertions(+), 29 deletions(-) (limited to 'include') diff --git a/include/aio.h b/include/aio.h index c441606..6f66faa 100644 --- a/include/aio.h +++ b/include/aio.h @@ -2,5 +2,5 @@ #include /* Now define the internal interfaces. */ -extern void __aio_init __P ((__const struct aioinit *__init)); +extern void __aio_init (__const struct aioinit *__init) __THROW; #endif diff --git a/include/alloca.h b/include/alloca.h index 4dcddb6..cb0b1a5 100644 --- a/include/alloca.h +++ b/include/alloca.h @@ -5,7 +5,7 @@ #undef __alloca /* Now define the internal interfaces. */ -extern __ptr_t __alloca __P ((size_t __size)); +extern void *__alloca (size_t __size) __THROW; #ifdef __GNUC__ # define __alloca(size) __builtin_alloca (size) diff --git a/include/db.h b/include/db.h index 383cef3..f945233 100644 --- a/include/db.h +++ b/include/db.h @@ -6,8 +6,9 @@ # include /* Internal interface for NSS. */ -int __nss_db_open __P((const char *, - DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **)); +extern int __nss_db_open (const char *, + DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **) + __THROW; #endif #endif diff --git a/include/dirent.h b/include/dirent.h index f6a3ed8..b3af4bf 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -2,14 +2,14 @@ # include /* Now define the internal interfaces. */ -extern DIR *__opendir __P ((__const char *__name)); -extern int __closedir __P ((DIR *__dirp)); -extern struct dirent *__readdir __P ((DIR *__dirp)); -extern struct dirent64 *__readdir64 __P ((DIR *__dirp)); -extern int __readdir_r __P ((DIR *__dirp, struct dirent *__entry, - struct dirent **__result)); -extern __ssize_t __getdents __P ((int __fd, char *__buf, size_t __nbytes)) +extern DIR *__opendir (__const char *__name) __THROW; +extern int __closedir (DIR *__dirp) __THROW; +extern struct dirent *__readdir (DIR *__dirp) __THROW; +extern struct dirent64 *__readdir64 (DIR *__dirp) __THROW; +extern int __readdir_r (DIR *__dirp, struct dirent *__entry, + struct dirent **__result) __THROW; +extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes) internal_function; -extern __ssize_t __getdents64 __P ((int __fd, char *__buf, size_t __nbytes)) +extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes) internal_function; #endif diff --git a/include/execinfo.h b/include/execinfo.h index 143a9cc..f9f8e36 100644 --- a/include/execinfo.h +++ b/include/execinfo.h @@ -1,11 +1,11 @@ #ifndef _EXECINFO_H #include -extern int __backtrace (void **__array, int __size); +extern int __backtrace (void **__array, int __size) __THROW; -extern char **__backtrace_symbols (void *__const *__array, int __size); +extern char **__backtrace_symbols (void *__const *__array, int __size) __THROW; extern void __backtrace_symbols_fd (void *__const *__array, int __size, - int __fd); + int __fd) __THROW; #endif diff --git a/include/fcntl.h b/include/fcntl.h index 949c662..9c903f8 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -2,5 +2,5 @@ #include /* Now define the internal interfaces. */ -extern int __open64 __P ((__const char *__file, int __oflag, ...)); +extern int __open64 (__const char *__file, int __oflag, ...) __THROW; #endif diff --git a/include/fpu_control.h b/include/fpu_control.h index a0a4feb..7063671 100644 --- a/include/fpu_control.h +++ b/include/fpu_control.h @@ -1,4 +1,4 @@ #include_next /* Called at startup. It can be used to manipulate fpu control register. */ -extern void __setfpucw __P ((fpu_control_t)); +extern void __setfpucw (fpu_control_t) __THROW; diff --git a/include/glob.h b/include/glob.h index 31b727e..f72f658 100644 --- a/include/glob.h +++ b/include/glob.h @@ -2,6 +2,6 @@ #include /* Now define the internal interfaces. */ -extern int __glob_pattern_p __P ((__const char *__pattern, int __quote)); +extern int __glob_pattern_p (__const char *__pattern, int __quote) __THROW; #endif diff --git a/include/grp.h b/include/grp.h index 87f6a7b..5ee66fc 100644 --- a/include/grp.h +++ b/include/grp.h @@ -2,19 +2,19 @@ #include /* Now define the internal interfaces. */ -extern int __getgrent_r __P ((struct group *__resultbuf, char *buffer, - size_t __buflen, struct group **__result)); -extern int __fgetgrent_r __P ((FILE * __stream, struct group *__resultbuf, - char *buffer, size_t __buflen, - struct group **__result)); +extern int __getgrent_r (struct group *__resultbuf, char *buffer, + size_t __buflen, struct group **__result) __THROW; +extern int __fgetgrent_r (FILE * __stream, struct group *__resultbuf, + char *buffer, size_t __buflen, + struct group **__result) __THROW; /* Search for an entry with a matching group ID. */ -extern int __getgrgid_r __P ((__gid_t __gid, struct group *__resultbuf, - char *__buffer, size_t __buflen, - struct group **__result)); +extern int __getgrgid_r (__gid_t __gid, struct group *__resultbuf, + char *__buffer, size_t __buflen, + struct group **__result) __THROW; /* Search for an entry with a matching group name. */ -extern int __getgrnam_r __P ((__const char *__name, struct group *__resultbuf, - char *__buffer, size_t __buflen, - struct group **__result)); +extern int __getgrnam_r (__const char *__name, struct group *__resultbuf, + char *__buffer, size_t __buflen, + struct group **__result) __THROW; #endif -- cgit v1.1