summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-19 03:14:36 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-19 03:14:36 +0000
commit4d3a563f2ef4fce5590561162b5dfb6f18872414 (patch)
treeee10b64d387a3f4c38e3479dd5332d9906ac78b3 /include
parentef5d6645960b1ad8b1af244be5d32b3b0d65201d (diff)
Update.
1999-10-18 Ulrich Drepper <drepper@cygnus.com> * scripts/config.sub: Update from latest autoconf version. * scripts/config.guess: Likewise. 1999-10-18 Andreas Jaeger <aj@suse.de> * inet/arpa/inet.h: Remove K&R compatibility. * math/fenv.h: Likewise. 1999-10-18 Andreas Jaeger <aj@suse.de> * 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 <aj@suse.de> * iconv/iconv_prog.c (process_block): Save errno value from iconv call. Patch by Bruno Haible <haible@ilog.fr> [libc/1402]. 1999-10-18 Ulrich Drepper <drepper@cygnus.com> * po/gl.po: New file. 1999-10-18 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Correct namespace selection. 1999-10-18 Andreas Schwab <schwab@suse.de> * debug/xtrace.sh: Use TERMINAL_PROG instead of TERM to avoid clash with the TERM environment variable. 1999-10-18 Andreas Jaeger <aj@suse.de> * 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 <aj@suse.de> * 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 <drepper@cygnus.com> * sysdeps/mips/Implies: Remove wordsize-32 reference. * sysdeps/mips/mips3/Implies: Add it here.
Diffstat (limited to 'include')
-rw-r--r--include/aio.h2
-rw-r--r--include/alloca.h2
-rw-r--r--include/db.h5
-rw-r--r--include/dirent.h16
-rw-r--r--include/execinfo.h6
-rw-r--r--include/fcntl.h2
-rw-r--r--include/fpu_control.h2
-rw-r--r--include/glob.h2
-rw-r--r--include/grp.h22
9 files changed, 30 insertions, 29 deletions
diff --git a/include/aio.h b/include/aio.h
index c441606794..6f66faadb9 100644
--- a/include/aio.h
+++ b/include/aio.h
@@ -2,5 +2,5 @@
#include <rt/aio.h>
/* 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 4dcddb6ae1..cb0b1a5587 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 383cef3831..f945233f0f 100644
--- a/include/db.h
+++ b/include/db.h
@@ -6,8 +6,9 @@
# include <db2/db.h>
/* 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 f6a3ed8741..b3af4bfa46 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -2,14 +2,14 @@
# include <dirent/dirent.h>
/* 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 143a9cc4ce..f9f8e36451 100644
--- a/include/execinfo.h
+++ b/include/execinfo.h
@@ -1,11 +1,11 @@
#ifndef _EXECINFO_H
#include <debug/execinfo.h>
-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 949c6621fd..9c903f88c6 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -2,5 +2,5 @@
#include <io/fcntl.h>
/* 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 a0a4febf9e..7063671aca 100644
--- a/include/fpu_control.h
+++ b/include/fpu_control.h
@@ -1,4 +1,4 @@
#include_next <fpu_control.h>
/* 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 31b727ee4f..f72f65856b 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -2,6 +2,6 @@
#include <posix/glob.h>
/* 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 87f6a7bec2..5ee66fc9b4 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -2,19 +2,19 @@
#include <grp/grp.h>
/* 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