summaryrefslogtreecommitdiff
path: root/include/rpc/netdb.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 05:21:15 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 05:21:15 +0000
commite83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5 (patch)
tree85ce10f2fc87fba69e07a13d7036d074e195dea7 /include/rpc/netdb.h
parent65eee187317b93773d2409d0e7e2814d34c6a0e1 (diff)
Rev all the header files to sync things with glibc 2.2.4
Diffstat (limited to 'include/rpc/netdb.h')
-rw-r--r--include/rpc/netdb.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/rpc/netdb.h b/include/rpc/netdb.h
index 6b820c84d..539d8c326 100644
--- a/include/rpc/netdb.h
+++ b/include/rpc/netdb.h
@@ -50,23 +50,23 @@ struct rpcent
int r_number; /* RPC program number. */
};
-extern void setrpcent __P ((int _stayopen));
-extern void endrpcent __P ((void));
-extern struct rpcent *getrpcbyname __P ((__const char *__name));
-extern struct rpcent *getrpcbynumber __P ((int __number));
-extern struct rpcent *getrpcent __P ((void));
+extern void setrpcent (int __stayopen) __THROW;
+extern void endrpcent (void) __THROW;
+extern struct rpcent *getrpcbyname (__const char *__name) __THROW;
+extern struct rpcent *getrpcbynumber (int __number) __THROW;
+extern struct rpcent *getrpcent (void) __THROW;
#ifdef __USE_MISC
-extern int getrpcbyname_r __P ((__const char *__name,
- struct rpcent *__result_buf, char *__buffer,
- size_t __buflen, struct rpcent **__result));
+extern int getrpcbyname_r (__const char *__name, struct rpcent *__result_buf,
+ char *__buffer, size_t __buflen,
+ struct rpcent **__result) __THROW;
-extern int getrpcbynumber_r __P ((int __number, struct rpcent *__result_buf,
- char *__buffer, size_t __buflen,
- struct rpcent **__result));
+extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf,
+ char *__buffer, size_t __buflen,
+ struct rpcent **__result) __THROW;
-extern int getrpcent_r __P ((struct rpcent *__result_buf, char *__buffer,
- size_t __buflen, struct rpcent **__result));
+extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer,
+ size_t __buflen, struct rpcent **__result) __THROW;
#endif
__END_DECLS