aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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
33 files changed, 161 insertions, 162 deletions
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],
struc