summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/include
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-01 05:40:52 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-01 05:40:52 +0000
commit9f4040a13b1849539679f71183c4118f015b6412 (patch)
tree60c8d671d8cf5b127a99904e28e2ccbca514ff26 /cpukit/librpc/include
parent2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-9f4040a13b1849539679f71183c4118f015b6412.tar.bz2
Eliminate __P().
Diffstat (limited to 'cpukit/librpc/include')
-rw-r--r--cpukit/librpc/include/rpc/auth_unix.h2
-rw-r--r--cpukit/librpc/include/rpc/pmap_clnt.h20
-rw-r--r--cpukit/librpc/include/rpc/pmap_prot.h4
-rw-r--r--cpukit/librpc/include/rpc/pmap_rmt.h4
-rw-r--r--cpukit/librpc/include/rpc/rpc_msg.h2
-rw-r--r--cpukit/librpc/include/rpc/svc_auth.h8
-rw-r--r--cpukit/librpc/include/rpcsvc/yp_prot.h28
-rw-r--r--cpukit/librpc/include/rpcsvc/ypclnt.h36
-rw-r--r--cpukit/librpc/include/rpcsvc/yppasswd.x2
9 files changed, 53 insertions, 53 deletions
diff --git a/cpukit/librpc/include/rpc/auth_unix.h b/cpukit/librpc/include/rpc/auth_unix.h
index 64632a53ea..ee4467217b 100644
--- a/cpukit/librpc/include/rpc/auth_unix.h
+++ b/cpukit/librpc/include/rpc/auth_unix.h
@@ -69,7 +69,7 @@ struct authunix_parms {
#define authsys_parms authunix_parms
__BEGIN_DECLS
-extern bool_t xdr_authunix_parms __P((XDR *, struct authunix_parms *));
+extern bool_t xdr_authunix_parms(XDR *, struct authunix_parms *);
__END_DECLS
/*
diff --git a/cpukit/librpc/include/rpc/pmap_clnt.h b/cpukit/librpc/include/rpc/pmap_clnt.h
index 588de77a9d..0eca2bbe2b 100644
--- a/cpukit/librpc/include/rpc/pmap_clnt.h
+++ b/cpukit/librpc/include/rpc/pmap_clnt.h
@@ -65,21 +65,21 @@
#include <rtems/bsd/sys/cdefs.h>
__BEGIN_DECLS
-extern bool_t pmap_set __P((u_long, u_long, int, int));
-extern bool_t pmap_unset __P((u_long, u_long));
-extern struct pmaplist *pmap_getmaps __P((struct sockaddr_in *));
-extern enum clnt_stat pmap_rmtcall __P((struct sockaddr_in *,
+extern bool_t pmap_set (u_long, u_long, int, int));
+extern bool_t pmap_unset (u_long, u_long);
+extern struct pmaplist *pmap_getmaps (struct sockaddr_in *);
+extern enum clnt_stat pmap_rmtcall (struct sockaddr_in *,
u_long, u_long, u_long,
xdrproc_t, caddr_t,
xdrproc_t, caddr_t,
- struct timeval, u_long *));
-extern enum clnt_stat clnt_broadcast __P((u_long, u_long, u_long,
+ struct timeval, u_long *);
+extern enum clnt_stat clnt_broadcast (u_long, u_long, u_long,
xdrproc_t, char *,
xdrproc_t, char *,
- bool_t (*) __P((caddr_t,
- struct sockaddr_in *))));
-extern u_short pmap_getport __P((struct sockaddr_in *,
- u_long, u_long, u_int));
+ bool_t (*) (caddr_t,
+ struct sockaddr_in *));
+extern u_short pmap_getport (struct sockaddr_in *,
+ u_long, u_long, u_int);
__END_DECLS
#endif /* !_RPC_PMAPCLNT_H */
diff --git a/cpukit/librpc/include/rpc/pmap_prot.h b/cpukit/librpc/include/rpc/pmap_prot.h
index 4be20a06ab..6ec7468dcc 100644
--- a/cpukit/librpc/include/rpc/pmap_prot.h
+++ b/cpukit/librpc/include/rpc/pmap_prot.h
@@ -97,8 +97,8 @@ struct pmaplist {
};
__BEGIN_DECLS
-extern bool_t xdr_pmap __P((XDR *, struct pmap *));
-extern bool_t xdr_pmaplist __P((XDR *, struct pmaplist **));
+extern bool_t xdr_pmap (XDR *, struct pmap *);
+extern bool_t xdr_pmaplist (XDR *, struct pmaplist **);
__END_DECLS
#endif /* !_RPC_PMAPPROT_H */
diff --git a/cpukit/librpc/include/rpc/pmap_rmt.h b/cpukit/librpc/include/rpc/pmap_rmt.h
index 681ebd6e27..fb2727b6f9 100644
--- a/cpukit/librpc/include/rpc/pmap_rmt.h
+++ b/cpukit/librpc/include/rpc/pmap_rmt.h
@@ -56,8 +56,8 @@ struct rmtcallres {
};
__BEGIN_DECLS
-extern bool_t xdr_rmtcall_args __P((XDR *, struct rmtcallargs *));
-extern bool_t xdr_rmtcallres __P((XDR *, struct rmtcallres *));
+extern bool_t xdr_rmtcall_args (XDR *, struct rmtcallargs *);
+extern bool_t xdr_rmtcallres (XDR *, struct rmtcallres *);
__END_DECLS
#endif /* !_RPC_PMAPRMT_H */
diff --git a/cpukit/librpc/include/rpc/rpc_msg.h b/cpukit/librpc/include/rpc/rpc_msg.h
index 733a5e2892..311d4f6863 100644
--- a/cpukit/librpc/include/rpc/rpc_msg.h
+++ b/cpukit/librpc/include/rpc/rpc_msg.h
@@ -185,7 +185,7 @@ extern bool_t xdr_callhdr(XDR *, struct rpc_msg *);
* XDR *xdrs;
* struct rpc_msg *rmsg;
*/
-extern bool_t xdr_replymsg __P((XDR *, struct rpc_msg *));
+extern bool_t xdr_replymsg(XDR *, struct rpc_msg *);
/*
* Fills in the error part of a reply message.
diff --git a/cpukit/librpc/include/rpc/svc_auth.h b/cpukit/librpc/include/rpc/svc_auth.h
index a203d8cbeb..49533803cc 100644
--- a/cpukit/librpc/include/rpc/svc_auth.h
+++ b/cpukit/librpc/include/rpc/svc_auth.h
@@ -47,10 +47,10 @@ struct svc_req;
* Server side authenticator
*/
__BEGIN_DECLS
-extern enum auth_stat _authenticate __P((struct svc_req *, struct rpc_msg *));
-extern int svc_auth_reg __P((int, enum auth_stat (*)(struct svc_req *,
- struct rpc_msg *)));
-extern enum auth_stat _svcauth_des __P((struct svc_req *, struct rpc_msg *));
+extern enum auth_stat _authenticate (struct svc_req *, struct rpc_msg *);
+extern int svc_auth_reg (int, enum auth_stat (*)(struct svc_req *,
+ struct rpc_msg *));
+extern enum auth_stat _svcauth_des (struct svc_req *, struct rpc_msg *);
__END_DECLS
#endif /* !_RPC_SVCAUTH_H */
diff --git a/cpukit/librpc/include/rpcsvc/yp_prot.h b/cpukit/librpc/include/rpcsvc/yp_prot.h
index 92de593611..5abe0e2514 100644
--- a/cpukit/librpc/include/rpcsvc/yp_prot.h
+++ b/cpukit/librpc/include/rpcsvc/yp_prot.h
@@ -310,20 +310,20 @@ struct yppushresp_xfr {
struct inaddr;
__BEGIN_DECLS
-bool_t xdr_datum __P((XDR *, datum *));
-bool_t xdr_ypreq_key __P((XDR *, struct ypreq_key *));
-bool_t xdr_ypreq_nokey __P((XDR *, struct ypreq_nokey *));
-bool_t xdr_ypreq_xfr __P((XDR *, struct ypreq_xfr *));
-bool_t xdr_ypresp_val __P((XDR *, struct ypresp_val *));
-bool_t xdr_ypresp_key_val __P((XDR *, struct ypresp_key_val *));
-bool_t xdr_ypbind_resp __P((XDR *, struct ypbind_resp *));
-bool_t xdr_ypbind_setdom __P((XDR *, struct ypbind_setdom *));
-bool_t xdr_yp_inaddr __P((XDR *, struct inaddr *));
-bool_t xdr_ypmap_parms __P((XDR *, struct ypmap_parms *));
-bool_t xdr_yppushresp_xfr __P((XDR *, struct yppushresp_xfr *));
-bool_t xdr_ypresp_order __P((XDR *, struct ypresp_order *));
-bool_t xdr_ypresp_master __P((XDR *, struct ypresp_master *));
-bool_t xdr_ypresp_maplist __P((XDR *, struct ypresp_maplist *));
+bool_t xdr_datum (XDR *, datum *);
+bool_t xdr_ypreq_key (XDR *, struct ypreq_key *);
+bool_t xdr_ypreq_nokey (XDR *, struct ypreq_nokey *);
+bool_t xdr_ypreq_xfr (XDR *, struct ypreq_xfr *);
+bool_t xdr_ypresp_val (XDR *, struct ypresp_val *);
+bool_t xdr_ypresp_key_val (XDR *, struct ypresp_key_val *);
+bool_t xdr_ypbind_resp (XDR *, struct ypbind_resp *);
+bool_t xdr_ypbind_setdom (XDR *, struct ypbind_setdom *);
+bool_t xdr_yp_inaddr (XDR *, struct inaddr *);
+bool_t xdr_ypmap_parms (XDR *, struct ypmap_parms *);
+bool_t xdr_yppushresp_xfr (XDR *, struct yppushresp_xfr *);
+bool_t xdr_ypresp_order (XDR *, struct ypresp_order *);
+bool_t xdr_ypresp_master (XDR *, struct ypresp_master *);
+bool_t xdr_ypresp_maplist (XDR *, struct ypresp_maplist *);
__END_DECLS
#endif /* _RPCSVC_YP_PROT_H_ */
diff --git a/cpukit/librpc/include/rpcsvc/ypclnt.h b/cpukit/librpc/include/rpcsvc/ypclnt.h
index edaf191ad1..c429ff7ee0 100644
--- a/cpukit/librpc/include/rpcsvc/ypclnt.h
+++ b/cpukit/librpc/include/rpcsvc/ypclnt.h
@@ -61,33 +61,33 @@
struct ypall_callback {
/* return non-0 to stop getting called */
- int (*foreach) __P((unsigned long, char *, int, char *, int, void *));
+ int (*foreach) (unsigned long, char *, int, char *, int, void *);
char *data; /* opaque pointer for use of callback fn */
};
struct dom_binding;
__BEGIN_DECLS
-int yp_bind __P((char *dom));
-int _yp_dobind __P((char *dom, struct dom_binding **ypdb));
-void yp_unbind __P((char *dom));
-int yp_get_default_domain __P((char **domp));
-int yp_match __P((char *indomain, char *inmap,
+int yp_bind (char *dom);
+int _yp_dobind (char *dom, struct dom_binding **ypdb);
+void yp_unbind (char *dom);
+int yp_get_default_domain (char **domp);
+int yp_match (char *indomain, char *inmap,
const char *inkey, int inkeylen, char **outval,
- int *outvallen));
-int yp_first __P((char *indomain, char *inmap,
+ int *outvallen);
+int yp_first (char *indomain, char *inmap,
char **outkey, int *outkeylen, char **outval,
- int *outvallen));
-int yp_next __P((char *indomain, char *inmap,
+ int *outvallen);
+int yp_next (char *indomain, char *inmap,
char *inkey, int inkeylen, char **outkey,
- int *outkeylen, char **outval, int *outvallen));
-int yp_master __P((char *indomain, char *inmap, char **outname));
-int yp_order __P((char *indomain, char *inmap, int *outorder));
-int yp_all __P((char *indomain, char *inmap,
- struct ypall_callback *incallback));
-char * yperr_string __P((int incode));
-char * ypbinderr_string __P((int incode));
-int ypprot_err __P((unsigned int incode));
+ int *outkeylen, char **outval, int *outvallen);
+int yp_master (char *indomain, char *inmap, char **outname);
+int yp_order (char *indomain, char *inmap, int *outorder);
+int yp_all (char *indomain, char *inmap,
+ struct ypall_callback *incallback);
+char * yperr_string (int incode);
+char * ypbinderr_string (int incode);
+int ypprot_err (unsigned int incode);
__END_DECLS
#endif /* _RPCSVC_YPCLNT_H_ */
diff --git a/cpukit/librpc/include/rpcsvc/yppasswd.x b/cpukit/librpc/include/rpcsvc/yppasswd.x
index bcc83a1346..73dca8e7ca 100644
--- a/cpukit/librpc/include/rpcsvc/yppasswd.x
+++ b/cpukit/librpc/include/rpcsvc/yppasswd.x
@@ -70,6 +70,6 @@ struct yppasswd {
#ifdef RPC_HDR
%#include <sys/cdefs.h>
-%extern int _yppasswd __P(( char * , struct x_passwd * ));
+%extern int _yppasswd ( char * , struct x_passwd * );
%#define yppasswd(x,y) _yppasswd(x,y)
#endif