summaryrefslogtreecommitdiff
path: root/include/rpc/netdb.h
diff options
context:
space:
mode:
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