summaryrefslogtreecommitdiffstats
path: root/include/rpc/clnt_soc.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
committerimp <imp@FreeBSD.org>2002-03-23 17:24:55 +0000
commit300518c0a10b4f5030e23380da07c906a3ee80dc (patch)
treeb4ea687a7ecac173665d9f3a8a858a98631f494e /include/rpc/clnt_soc.h
parenta931cab8794b686ee088069d9a62bcfec63c5b1b (diff)
downloadFreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.zip
FreeBSD-src-300518c0a10b4f5030e23380da07c906a3ee80dc.tar.gz
Breath deep and take __P out of the system include files.
# This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
Diffstat (limited to 'include/rpc/clnt_soc.h')
-rw-r--r--include/rpc/clnt_soc.h26
1 files changed, 7 insertions, 19 deletions
diff --git a/include/rpc/clnt_soc.h b/include/rpc/clnt_soc.h
index b6c1bd2..1e7a0de 100644
--- a/include/rpc/clnt_soc.h
+++ b/include/rpc/clnt_soc.h
@@ -63,19 +63,15 @@
* u_int recvsz;
*/
__BEGIN_DECLS
-extern CLIENT *clnttcp_create __P((struct sockaddr_in *,
- u_long,
- u_long,
- int *,
- u_int,
- u_int));
+extern CLIENT *clnttcp_create(struct sockaddr_in *, u_long, u_long, int *,
+ u_int, u_int);
__END_DECLS
/*
* Raw (memory) rpc.
*/
__BEGIN_DECLS
-extern CLIENT *clntraw_create __P((u_long, u_long));
+extern CLIENT *clntraw_create(u_long, u_long);
__END_DECLS
@@ -101,18 +97,10 @@ __END_DECLS
* u_int recvsz;
*/
__BEGIN_DECLS
-extern CLIENT *clntudp_create __P((struct sockaddr_in *,
- u_long,
- u_long,
- struct timeval,
- int *));
-extern CLIENT *clntudp_bufcreate __P((struct sockaddr_in *,
- u_long,
- u_long,
- struct timeval,
- int *,
- u_int,
- u_int));
+extern CLIENT *clntudp_create(struct sockaddr_in *, u_long, u_long,
+ struct timeval, int *);
+extern CLIENT *clntudp_bufcreate(struct sockaddr_in *, u_long, u_long,
+ struct timeval, int *, u_int, u_int);
__END_DECLS
#endif /* _RPC_CLNT_SOC_H */
OpenPOWER on IntegriCloud