about summary refs log tree commit diff
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/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