summaryrefslogtreecommitdiffstats
path: root/include/rpc/rpcent.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/rpcent.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/rpcent.h')
-rw-r--r--include/rpc/rpcent.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/rpc/rpcent.h b/include/rpc/rpcent.h
index 234002a..4388d8b 100644
--- a/include/rpc/rpcent.h
+++ b/include/rpc/rpcent.h
@@ -53,17 +53,17 @@ struct rpcent {
};
__BEGIN_DECLS
-extern struct rpcent *getrpcbyname_r __P((const char *, struct rpcent *,
- char *, int));
-extern struct rpcent *getrpcbynumber_r __P((int, struct rpcent *, char *, int));
-extern struct rpcent *getrpcent_r __P((struct rpcent *, char *, int));
+extern struct rpcent *getrpcbyname_r(const char *, struct rpcent *,
+ char *, int);
+extern struct rpcent *getrpcbynumber_r(int, struct rpcent *, char *, int);
+extern struct rpcent *getrpcent_r(struct rpcent *, char *, int);
/* Old interfaces that return a pointer to a static area; MT-unsafe */
-extern struct rpcent *getrpcbyname __P((char *));
-extern struct rpcent *getrpcbynumber __P((int));
-extern struct rpcent *getrpcent __P((void));
-extern void setrpcent __P((int));
-extern void endrpcent __P((void));
+extern struct rpcent *getrpcbyname(char *);
+extern struct rpcent *getrpcbynumber(int);
+extern struct rpcent *getrpcent(void);
+extern void setrpcent(int);
+extern void endrpcent(void);
__END_DECLS
#endif /* !_RPC_CENT_H */
OpenPOWER on IntegriCloud