summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog63
-rw-r--r--FAQ10
-rw-r--r--include/aio.h2
-rw-r--r--include/alloca.h2
-rw-r--r--include/bits/ipc.h2
-rw-r--r--include/db.h3
-rw-r--r--include/dirent.h10
-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.h8
-rw-r--r--include/libintl.h10
-rw-r--r--include/math.h2
-rw-r--r--include/mntent.h10
-rw-r--r--include/netdb.h28
-rw-r--r--include/pwd.h8
-rw-r--r--include/sched.h18
-rw-r--r--include/shadow.h12
-rw-r--r--include/stdlib.h46
-rw-r--r--include/sys/file.h2
-rw-r--r--include/sys/gmon.h4
-rw-r--r--include/sys/ioctl.h2
-rw-r--r--include/sys/socket.h2
-rw-r--r--include/sys/stat.h16
-rw-r--r--include/sys/sysinfo.h8
-rw-r--r--include/sys/time.h12
-rw-r--r--include/sys/times.h2
-rw-r--r--include/sys/uio.h4
-rw-r--r--include/sys/wait.h6
-rw-r--r--include/termios.h2
-rw-r--r--include/time.h28
-rw-r--r--include/ulimit.h2
-rw-r--r--include/utmp.h22
-rw-r--r--include/wchar.h38
35 files changed, 228 insertions, 168 deletions
diff --git a/ChangeLog b/ChangeLog
index 2177d02f9f..56387553a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,66 @@
1999-11-23 Andreas Jaeger <aj@suse.de>
+ * 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 <aj@suse.de>
+
+ * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output.
+ Patch by Jerry Perkins <jrperkins@iname.com>, closes PR
+ libc/1456+1457.
+
+1999-11-22 Jakub Jelinek <jakub@redhat.com>
+
+ * 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 <drepper@cygnus.com>
+
+ * po/cs.po: Update from translators.
+
+1999-11-23 Andreas Jaeger <aj@suse.de>
+
* sysdeps/mips/dl-machine.h (elf_machine_dynamic): New function.
(elf_machine_got): Removed, not needed anymore.
(ELF_MACHINE_RELOC_NOPLT): Removed.
@@ -12,7 +73,7 @@
Ralf Baechle <baechle@uni-koblenz.de>.
* sysdeps/mips/mips64/dl-machine.h: Apply same patches.
-
+
1999-11-22 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Don't use the charset
diff --git a/FAQ b/FAQ
index 926a72ac5a..fe08cb1539 100644
--- a/FAQ
+++ b/FAQ
@@ -1097,11 +1097,11 @@ shadow_compat: nis
that have been linked against glibc 2.0 will continue to work.
If you compile your own binaries against glibc 2.1, you also need to
-recompile some other libraries. The problem is that libio had to be
-changed and therefore libraries that are based or depend on the libio
-of glibc, e.g. ncurses or slang, need to be recompiled. If you
-experience strange segmentation faults in your programs linked against
-glibc 2.1, you might need to recompile your libraries.
+recompile some other libraries. The problem is that libio had to be changed
+and therefore libraries that are based or depend on the libio of glibc,
+e.g. ncurses, slang and most C++ libraries, need to be recompiled. If you
+experience strange segmentation faults in your programs linked against glibc
+2.1, you might need to recompile your libraries.
Another problem is that older binaries that were linked statically against
glibc 2.0 will reference the older nss modules (libnss_files.so.1 instead of
diff --git a/include/aio.h b/include/aio.h
index 6f66faadb9..e3dc86f99a 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 (__const struct aioinit *__init) __THROW;
+extern void __aio_init (__const struct aioinit *__init);
#endif
diff --git a/include/alloca.h b/include/alloca.h
index cb0b1a5587..3a480f8e24 100644
--- a/include/alloca.h
+++ b/include/alloca.h
@@ -5,7 +5,7 @@
#undef __alloca
/* Now define the internal interfaces. */
-extern void *__alloca (size_t __size) __THROW;
+extern void *__alloca (size_t __size);
#ifdef __GNUC__
# define __alloca(size) __builtin_alloca (size)
diff --git a/include/bits/ipc.h b/include/bits/ipc.h
index 92fb4505a5..481fe91a8e 100644
--- a/include/bits/ipc.h
+++ b/include/bits/ipc.h
@@ -4,7 +4,7 @@ __BEGIN_DECLS
/* The actual system call: all functions are multiplexed by this. */
extern int __syscall_ipc (int __call, int __first, int __second,
- int __third, void *__ptr) __THROW;
+ int __third, void *__ptr);
__END_DECLS
diff --git a/include/db.h b/include/db.h
index f945233f0f..724b5dbb41 100644
--- a/include/db.h
+++ b/include/db.h
@@ -7,8 +7,7 @@
/* Internal interface for NSS. */
extern int __nss_db_open (const char *,
- DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **)
- __THROW;
+ DBTYPE, u_int32_t, int, DB_ENV *, DB_INFO *, DB **);
#endif
#endif
diff --git a/include/dirent.h b/include/dirent.h
index b3af4bfa46..486e7f60f1 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -2,12 +2,12 @@
# include <dirent/dirent.h>
/* Now define the internal interfaces. */
-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 DIR *__opendir (__const char *__name);
+extern int __closedir (DIR *__dirp);
+extern struct dirent *__readdir (DIR *__dirp);
+extern struct dirent64 *__readdir64 (DIR *__dirp);
extern int __readdir_r (DIR *__dirp, struct dirent *__entry,
- struct dirent **__result) __THROW;
+ struct dirent **__result);
extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes)
internal_function;
extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes)
diff --git a/include/execinfo.h b/include/execinfo.h
index f9f8e36451..143a9cc4ce 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) __THROW;
+extern int __backtrace (void **__array, int __size);
-extern char **__backtrace_symbols (void *__const *__array, int __size) __THROW;
+extern char **__backtrace_symbols (void *__const *__array, int __size);
extern void __backtrace_symbols_fd (void *__const *__array, int __size,
- int __fd) __THROW;
+ int __fd);
#endif
diff --git a/include/fcntl.h b/include/fcntl.h
index 9c903f88c6..8714d6aa14 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 (__const char *__file, int __oflag, ...) __THROW;
+extern int __open64 (__const char *__file, int __oflag, ...);
#endif
diff --git a/include/fpu_control.h b/include/fpu_control.h
index 7063671aca..d0b5e9c0d1 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 (fpu_control_t) __THROW;
+extern void __setfpucw (fpu_control_t);
diff --git a/include/glob.h b/include/glob.h
index f72f65856b..fce761869d 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 (__const char *__pattern, int __quote) __THROW;
+extern int __glob_pattern_p (__const char *__pattern, int __quote);
#endif
diff --git a/include/grp.h b/include/grp.h
index 5ee66fc9b4..824b1648c2 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -3,18 +3,18 @@
/* Now define the internal interfaces. */
extern int __getgrent_r (struct group *__resultbuf, char *buffer,
- size_t __buflen, struct group **__result) __THROW;
+ size_t __buflen, struct group **__result);
extern int __fgetgrent_r (FILE * __stream, struct group *__resultbuf,
char *buffer, size_t __buflen,
- struct group **__result) __THROW;
+ struct group **__result);
/* Search for an entry with a matching group ID. */
extern int __getgrgid_r (__gid_t __gid, struct group *__resultbuf,
char *__buffer, size_t __buflen,
- struct group **__result) __THROW;
+ struct group **__result);
/* Search for an entry with a matching group name. */
extern int __getgrnam_r (__const char *__name, struct group *__resultbuf,
char *__buffer, size_t __buflen,
- struct group **__result) __THROW;
+ struct group **__result);
#endif
diff --git a/include/libintl.h b/include/libintl.h
index d81d60438a..3d1d7c90ee 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -2,14 +2,14 @@
#include <intl/libintl.h>
/* Now define the internal interfaces. */
-extern char *__gettext (__const char *__msgid) __THROW;
+extern char *__gettext (__const char *__msgid);
extern char *__dgettext (__const char *__domainname,
- __const char *__msgid) __THROW;
+ __const char *__msgid);
extern char *__dcgettext (__const char *__domainname,
- __const char *__msgid, int __category) __THROW;
-extern char *__textdomain (__const char *__domainname) __THROW;
+ __const char *__msgid, int __category);
+extern char *__textdomain (__const char *__domainname);
extern char *__bindtextdomain (__const char *__domainname,
- __const char *__dirname) __THROW;
+ __const char *__dirname);
extern const char _libc_intl_domainname[];
/* Define the macros `_' and `N_' for conveniently marking translatable
diff --git a/include/math.h b/include/math.h
index 1cfd9b6cb5..8759c28bff 100644
--- a/include/math.h
+++ b/include/math.h
@@ -3,6 +3,6 @@
#include <math/math.h>
/* Now define the internal interfaces. */
-extern int __matherr (struct exception *__exc) __THROW;
+extern int __matherr (struct exception *__exc);
#endif
diff --git a/include/mntent.h b/include/mntent.h
index 5097e4a37a..7035630444 100644
--- a/include/mntent.h
+++ b/include/mntent.h
@@ -2,12 +2,12 @@
#include <misc/mntent.h>
/* Now define the internal interfaces. */
-extern FILE *__setmntent (__const char *__file, __const char *__mode) __THROW;
+extern FILE *__setmntent (__const char *__file, __const char *__mode);
extern struct mntent *__getmntent_r (FILE *__stream,
struct mntent *__result,
- char *__buffer, int __bufsize) __THROW;
-extern int __addmntent (FILE *__stream, __const struct mntent *__mnt) __THROW;
-extern int __endmntent (FILE *__stream) __THROW;
+ char *__buffer, int __bufsize);
+extern int __addmntent (FILE *__stream, __const struct mntent *__mnt);
+extern int __endmntent (FILE *__stream);
extern char *__hasmntopt (__const struct mntent *__mnt,
- __const char *__opt) __THROW;
+ __const char *__opt);
#endif
diff --git a/include/netdb.h b/include/netdb.h
index cefd492a22..48fdddd7d4 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -5,76 +5,76 @@
extern int __gethostent_r (struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __gethostbyaddr_r (__const char *__restrict __addr,
size_t __len, int __type,
struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __gethostbyname_r (__const char *__restrict __name,
struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __gethostbyname2_r (__const char *__restrict __name, int __af,
struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __getnetent_r (struct netent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct netent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __getnetbyaddr_r (unsigned long int __net, int __type,
struct netent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct netent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __getnetbyname_r (__const char *__restrict __name,
struct netent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct netent **__restrict __result,
- int *__restrict __h_errnop) __THROW;
+ int *__restrict __h_errnop);
extern int __getservent_r (struct servent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct servent **__restrict __result) __THROW;
+ struct servent **__restrict __result);
extern int __getservbyname_r (__const char *__restrict __name,
__const char *__restrict __proto,
struct servent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct servent **__restrict __result) __THROW;
+ struct servent **__restrict __result);
extern int __getservbyport_r (int __port,
__const char *__restrict __proto,
struct servent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct servent **__restrict __result) __THROW;
+ struct servent **__restrict __result);
extern int __getprotoent_r (struct protoent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct protoent **__restrict __result) __THROW;
+ struct protoent **__restrict __result);
extern int __getprotobyname_r (__const char *__restrict __name,
struct protoent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct protoent **__restrict __result) __THROW;
+ struct protoent **__restrict __result);
extern int __getprotobynumber_r (int __proto,
struct protoent *__restrict __res_buf,
char *__restrict __buf, size_t __buflen,
- struct protoent **__restrict __result) __THROW;
+ struct protoent **__restrict __result);
extern int __getnetgrent_r (char **__restrict __hostp,
char **__restrict __userp,
char **__restrict __domainp,
- char *__restrict __buffer, size_t __buflen) __THROW;
+ char *__restrict __buffer, size_t __buflen);
#endif /* !_NETDB_H */
diff --git a/include/pwd.h b/include/pwd.h
index 6baec570fc..f91622840a 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -3,14 +3,14 @@
/* Now define the internal interfaces. */
extern int __getpwent_r (struct passwd *__resultbuf, char *__buffer,
- size_t __buflen, struct passwd **__result) __THROW;
+ size_t __buflen, struct passwd **__result);
extern int __getpwuid_r (__uid_t __uid, struct passwd *__resultbuf,
char *__buffer, size_t __buflen,
- struct passwd **__result) __THROW;
+ struct passwd **__result);
extern int __getpwnam_r (__const char *__name, struct passwd *__resultbuf,
char *__buffer, size_t __buflen,
- struct passwd **__result) __THROW;
+ struct passwd **__result);
extern int __fgetpwent_r (FILE * __stream, struct passwd *__resultbuf,
char *__buffer, size_t __buflen,
- struct passwd **__result) __THROW;
+ struct passwd **__result);
#endif
diff --git a/include/sched.h b/include/sched.h
index b159e7ac74..3866a0d08b 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -3,17 +3,17 @@
/* Now define the internal interfaces. */
extern int __sched_setparam (__pid_t __pid,
- __const struct sched_param *__param) __THROW;
-extern int __sched_getparam (__pid_t __pid, struct sched_param *__param) __THROW;
+ __const struct sched_param *__param);
+extern int __sched_getparam (__pid_t __pid, struct sched_param *__param);
extern int __sched_setscheduler (__pid_t __pid, int __policy,
- __const struct sched_param *__param) __THROW;
-extern int __sched_getscheduler (__pid_t __pid) __THROW;
-extern int __sched_yield (void) __THROW;
-extern int __sched_get_priority_max (int __algorithm) __THROW;
-extern int __sched_get_priority_min (int __algorithm) __THROW;
-extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;
+ __const struct sched_param *__param);
+extern int __sched_getscheduler (__pid_t __pid);
+extern int __sched_yield (void);
+extern int __sched_get_priority_max (int __algorithm);
+extern int __sched_get_priority_min (int __algorithm);
+extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t);
/* This is Linux specific. */
extern int __clone (int (*__fn) (void *__arg), void *__child_stack,
- int __flags, void *__arg) __THROW;
+ int __flags, void *__arg);
#endif
diff --git a/include/shadow.h b/include/shadow.h
index 18ed62c00a..b7d49f7cfc 100644
--- a/include/shadow.h
+++ b/include/shadow.h
@@ -3,16 +3,16 @@
/* Now define the internal interfaces. */
extern int __getspent_r (struct spwd *__result_buf, char *__buffer,
- size_t __buflen, struct spwd **__result) __THROW;
+ size_t __buflen, struct spwd **__result);
extern int __getspnam_r (__const char *__name, struct spwd *__result_buf,
char *__buffer, size_t __buflen,
- struct spwd **__result) __THROW;
+ struct spwd **__result);
extern int __sgetspent_r (__const char *__string,
struct spwd *__result_buf, char *__buffer,
- size_t __buflen, struct spwd **__result) __THROW;
+ size_t __buflen, struct spwd **__result);
extern int __fgetspent_r (FILE *__stream, struct spwd *__result_buf,
char *__buffer, size_t __buflen,
- struct spwd **__result) __THROW;
-extern int __lckpwdf (void) __THROW;
-extern int __ulckpwdf (void) __THROW;
+ struct spwd **__result);
+extern int __lckpwdf (void);
+extern int __ulckpwdf (void);
#endif
diff --git a/include/stdlib.h b/include/stdlib.h
index 86c0e2d38a..7586203057 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -8,44 +8,44 @@
/* Now define the internal interfaces. */
#ifndef __Need_M_And_C
-extern int32_t __random (void) __THROW;
-extern void __srandom (unsigned int __seed) __THROW;
+extern int32_t __random (void);
+extern void __srandom (unsigned int __seed);
extern void *__initstate (unsigned int __seed, void *__statebuf,
- size_t __statelen) __THROW;
-extern void *__setstate (void *__statebuf) __THROW;
-extern int __random_r (struct random_data *__buf, int32_t *__result) __THROW;
-extern int __srandom_r (unsigned int __seed, struct random_data *__buf) __THROW;
+ size_t __statelen);
+extern void *__setstate (void *__statebuf);
+extern int __random_r (struct random_data *__buf, int32_t *__result);
+extern int __srandom_r (unsigned int __seed, struct random_data *__buf);
extern int __initstate_r (unsigned int __seed, void *__statebuf,
- size_t __statelen, struct random_data *__buf) __THROW;
-extern int __setstate_r (void *__statebuf, struct random_data *__buf) __THROW;
-extern int __rand_r (unsigned int *__seed) __THROW;
+ size_t __statelen, struct random_data *__buf);
+extern int __setstate_r (void *__statebuf, struct random_data *__buf);
+extern int __rand_r (unsigned int *__seed);
extern int __erand48_r (unsigned short int __xsubi[3],
- struct drand48_data *__buffer, double *__result) __THROW;
+ struct drand48_data *__buffer, double *__result);
extern int __nrand48_r (unsigned short int __xsubi[3],
struct drand48_data *__buffer,
- long int *__result) __THROW;
+ long int *__result);
extern int __jrand48_r (unsigned short int __xsubi[3],
struct drand48_data *__buffer,
- long int *__result) __THROW;
+ long int *__result);
extern int __srand48_r (long int __seedval,
- struct drand48_data *__buffer) __THROW;
+ struct drand48_data *__buffer);
extern int __seed48_r (unsigned short int __seed16v[3],
- struct drand48_data *__buffer) __THROW;
+ struct drand48_data *__buffer);
extern int __lcong48_r (unsigned short int __param[7],
- struct drand48_data *__buffer) __THROW;
+ struct drand48_data *__buffer);
/* Internal function to compute next state of the generator. */
extern int __drand48_iterate (unsigned short int __xsubi[3],
- struct drand48_data *__buffer) __THROW;
+ struct drand48_data *__buffer);
extern int __setenv (__const char *__name, __const char *__value,
- int __replace) __THROW;
-extern void __unsetenv (__const char *__name) __THROW;
-extern int __clearenv (void) __THROW;
-extern char *__canonicalize_file_name (__const char *__name) __THROW;
-extern char *__realpath (__const char *__name, char *__resolved) __THROW;
-extern int __ptsname_r (int __fd, char *__buf, size_t __buflen) __THROW;
-extern int __getpt (void) __THROW;
+ int __replace);
+extern void __unsetenv (__const char *__name);
+extern int __clearenv (void);
+extern char *__canonicalize_file_name (__const char *__name);
+extern char *__realpath (__const char *__name, char *__resolved);
+extern int __ptsname_r (int __fd, char *__buf, size_t __buflen);
+extern int __getpt (void);
extern int __add_to_environ (const char *name, const char *value,
const char *combines, int replace);
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 <misc/sys/file.h>
/* 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 <misc/sys/ioctl.h>
/* 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 <socket/sys/socket.h>
/* 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 <io/sys/stat.h>
/* 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 <posix/sys/times.h>
/* 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
diff --git a/include/termios.h b/include/termios.h
index d7aee0630f..e10a7e3af3 100644
--- a/include/termios.h
+++ b/include/termios.h
@@ -2,5 +2,5 @@
#include <termios/termios.h>
/* Now define the internal interfaces. */
-extern int __tcgetattr (int __fd, struct termios *__termios_p) __THROW;
+extern int __tcgetattr (int __fd, struct termios *__termios_p);
#endif
diff --git a/include/time.h b/include/time.h
index d0d7ebb3e4..e4b945c665 100644
--- a/include/time.h
+++ b/include/time.h
@@ -14,7 +14,7 @@ extern const unsigned short int __mon_yday[2][13];
extern struct tm _tmbuf;
/* Defined in tzset.c. */
-extern char *__tzstring (const char *string) __THROW;
+extern char *__tzstring (const char *string);
/* Defined in tzset.c. */
extern size_t __tzname_cur_max;
@@ -23,12 +23,12 @@ extern size_t __tzname_cur_max;
extern int __use_tzfile;
extern void __tzfile_read (const char *file, size_t extra,
- char **extrap) __THROW;
+ char **extrap);
extern int __tzfile_compute (time_t timer, int use_localtime,
long int *leap_correct, int *leap_hit,
- struct tm *tp) __THROW;
+ struct tm *tp);
extern void __tzfile_default (const char *std, const char *dst,
- long int stdoff, long int dstoff) __THROW;
+ long int stdoff, long int dstoff);
/* Subroutine of `mktime'. Return the `time_t' representation of TP and
normalize TP, given that a `struct tm *' maps to a `time_t' as performed
@@ -36,12 +36,12 @@ extern void __tzfile_default (const char *std, const char *dst,
extern time_t __mktime_internal (struct tm *__tp,
struct tm *(*__func) (const time_t *,
struct tm *),
- time_t *__offset) __THROW;
+ time_t *__offset);
extern struct tm *__localtime_r (__const time_t *__timer,
- struct tm *__tp) __THROW;
+ struct tm *__tp);
extern struct tm *__gmtime_r (__const time_t *__restrict __timer,
- struct tm *__restrict __tp) __THROW;
+ struct tm *__restrict __tp);
/* Compute the `struct tm' representation of *T,
offset OFFSET seconds east of UTC,
@@ -49,20 +49,20 @@ extern struct tm *__gmtime_r (__const time_t *__restrict __timer,
Return nonzero if successful. */
extern int __offtime (__const time_t *__timer,
long int __offset,
- struct tm *__tp) __THROW;
+ struct tm *__tp);
-extern char *__asctime_r (__const struct tm *__tp, char *__buf) __THROW;
-extern void __tzset (void) __THROW;
+extern char *__asctime_r (__const struct tm *__tp, char *__buf);
+extern void __tzset (void);
/* Prototype for the internal function to get information based on TZ. */
-extern struct tm *__tz_convert (const time_t *timer, int use_localtime, struct tm *tp) __THROW;
+extern struct tm *__tz_convert (const time_t *timer, int use_localtime, struct tm *tp);
/* Return the maximum length of a timezone name.
This is what `sysconf (_SC_TZNAME_MAX)' does. */
-extern long int __tzname_max (void) __THROW;
+extern long int __tzname_max (void);
extern int __nanosleep (__const struct timespec *__requested_time,
- struct timespec *__remaining) __THROW;
-extern int __getdate_r (__const char *__string, struct tm *__resbufp) __THROW;
+ struct timespec *__remaining);
+extern int __getdate_r (__const char *__string, struct tm *__resbufp);
#endif
#endif
diff --git a/include/ulimit.h b/include/ulimit.h
index f7c4b3be33..d2430fa6a3 100644
--- a/include/ulimit.h
+++ b/include/ulimit.h
@@ -2,5 +2,5 @@
#include <resource/ulimit.h>
/* Now define the internal interfaces. */
-extern long int __ulimit (int __cmd, ...) __THROW;
+extern long int __ulimit (int __cmd, ...);
#endif
diff --git a/include/utmp.h b/include/utmp.h
index 4f2bc88467..54f41ba5e5 100644
--- a/include/utmp.h
+++ b/include/utmp.h
@@ -3,17 +3,17 @@
/* Now define the internal interfaces. */
extern void __updwtmp (__const char *__wtmp_file,
- __const struct utmp *__utmp) __THROW;
-extern int __utmpname (__const char *__file) __THROW;
-extern struct utmp *__getutent (void) __THROW;
-extern void __setutent (void) __THROW;
-extern void __endutent (void) __THROW;
-extern struct utmp *__getutid (__const struct utmp *__id) __THROW;
-extern struct utmp *__getutline (__const struct utmp *__line) __THROW;
-extern struct utmp *__pututline (__const struct utmp *__utmp_ptr) __THROW;
-extern int __getutent_r (struct utmp *__buffer, struct utmp **__result) __THROW;
+ __const struct utmp *__utmp);
+extern int __utmpname (__const char *__file);
+extern struct utmp *__getutent (void);
+extern void __setutent (void);
+extern void __endutent (void);
+extern struct utmp *__getutid (__const struct utmp *__id);
+extern struct utmp *__getutline (__const struct utmp *__line);
+extern struct utmp *__pututline (__const struct utmp *__utmp_ptr);
+extern int __getutent_r (struct utmp *__buffer, struct utmp **__result);
extern int __getutid_r (__const struct utmp *__id, struct utmp *__buffer,
- struct utmp **__result) __THROW;
+ struct utmp **__result);
extern int __getutline_r (__const struct utmp *__line,
- struct utmp *__buffer, struct utmp **__result) __THROW;
+ struct utmp *__buffer, struct utmp **__result);
#endif
diff --git a/include/wchar.h b/include/wchar.h
index 0f70ced8c4..cdc4e757c3 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -3,45 +3,45 @@
# ifdef _WCHAR_H
/* Now define the internal interfaces. */
-extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2) __THROW;
+extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2);
extern int __wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
- size_t __n) __THROW;
-extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen) __THROW;
-extern wint_t __btowc (int __c) __THROW;
-extern int __mbsinit (__const __mbstate_t *__ps) __THROW;
+ size_t __n);
+extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen);
+extern wint_t __btowc (int __c);
+extern int __mbsinit (__const __mbstate_t *__ps);
extern size_t __mbrtowc (wchar_t *__restrict __pwc,
__const char *__restrict __s, size_t __n,
- __mbstate_t *__restrict __p) __THROW;
+ __mbstate_t *__restrict __p);
extern size_t __wcrtomb (char *__restrict __s, wchar_t __wc,
- __mbstate_t *__restrict __ps) __THROW;
+ __mbstate_t *__restrict __ps);
extern size_t __mbsrtowcs (wchar_t *__restrict __dst,
__const char **__restrict __src,
- size_t __len, __mbstate_t *__restrict __ps) __THROW;
+ size_t __len, __mbstate_t *__restrict __ps);
extern size_t __wcsrtombs (char *__restrict __dst,
__const wchar_t **__restrict __src,
- size_t __len, __mbstate_t *__restrict __ps) __THROW;
+ size_t __len, __mbstate_t *__restrict __ps);
extern size_t __mbsnrtowcs (wchar_t *__restrict __dst,
__const char **__restrict __src, size_t __nmc,
- size_t __len, __mbstate_t *__restrict __ps) __THROW;
+ size_t __len, __mbstate_t *__restrict __ps);
extern size_t __wcsnrtombs (char *__restrict __dst,
__const wchar_t **__restrict __src,
size_t __nwc, size_t __len,
- __mbstate_t *__restrict __ps) __THROW;
-extern wchar_t *__wcpcpy (wchar_t *__dest, __const wchar_t *__src) __THROW;
+ __mbstate_t *__restrict __ps);
+extern wchar_t *__wcpcpy (wchar_t *__dest, __const wchar_t *__src);
extern wchar_t *__wcpncpy (wchar_t *__dest, __const wchar_t *__src,
- size_t __n) __THROW;
+ size_t __n);
extern wchar_t *__wmemcpy (wchar_t *__s1, __const wchar_t *s2,
- size_t __n) __THROW;
+ size_t __n);
extern wchar_t *__wmempcpy (wchar_t *__restrict __s1,
__const wchar_t *__restrict __s2,
- size_t __n) __THROW;
+ size_t __n);
extern wchar_t *__wmemmove (wchar_t *__s1, __const wchar_t *__s2,
- size_t __n) __THROW;
-extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc) __THROW;
+ size_t __n);
+extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc);
extern int __vfwscanf (FILE *__restrict __s,
__const wchar_t *__restrict __format,
- __gnuc_va_list __arg) __THROW
- /* __attribute__ ((__format__ (__wscanf__, 2, 0) __THROW) */;
+ __gnuc_va_list __arg)
+ /* __attribute__ ((__format__ (__wscanf__, 2, 0)) */;
# endif
#endif