summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/include/rpc/svc.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-01-07 07:46:15 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-01-07 07:46:15 +0000
commit8faf4bd5314b2c74d525c33af81a4749ac5f1ed6 (patch)
treea48cd099ea282b36d2daa8c71579fcb1b948256f /cpukit/librpc/include/rpc/svc.h
parent2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-8faf4bd5314b2c74d525c33af81a4749ac5f1ed6.tar.bz2
2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/svc.h, librpc/include/rpc/xdr.h: Remove __P(xx).
Diffstat (limited to 'cpukit/librpc/include/rpc/svc.h')
-rw-r--r--cpukit/librpc/include/rpc/svc.h68
1 files changed, 34 insertions, 34 deletions
diff --git a/cpukit/librpc/include/rpc/svc.h b/cpukit/librpc/include/rpc/svc.h
index e57a7454be..c5cfd5e012 100644
--- a/cpukit/librpc/include/rpc/svc.h
+++ b/cpukit/librpc/include/rpc/svc.h
@@ -79,21 +79,21 @@ typedef struct __rpc_svcxprt {
u_short xp_port; /* associated port number */
struct xp_ops {
/* receive incoming requests */
- bool_t (*xp_recv) __P((struct __rpc_svcxprt *,
- struct rpc_msg *));
+ bool_t (*xp_recv) (struct __rpc_svcxprt *,
+ struct rpc_msg *);
/* get transport status */
- enum xprt_stat (*xp_stat) __P((struct __rpc_svcxprt *));
+ enum xprt_stat (*xp_stat) (struct __rpc_svcxprt *);
/* get arguments */
- bool_t (*xp_getargs) __P((struct __rpc_svcxprt *, xdrproc_t,
- caddr_t));
+ bool_t (*xp_getargs) (struct __rpc_svcxprt *, xdrproc_t,
+ caddr_t);
/* send reply */
- bool_t (*xp_reply) __P((struct __rpc_svcxprt *,
- struct rpc_msg *));
+ bool_t (*xp_reply) (struct __rpc_svcxprt *,
+ struct rpc_msg *);
/* free mem allocated for args */
- bool_t (*xp_freeargs) __P((struct __rpc_svcxprt *, xdrproc_t,
- caddr_t));
+ bool_t (*xp_freeargs) (struct __rpc_svcxprt *, xdrproc_t,
+ caddr_t);
/* destroy this struct */
- void (*xp_destroy) __P((struct __rpc_svcxprt *));
+ void (*xp_destroy) (struct __rpc_svcxprt *);
} *xp_ops;
int xp_addrlen; /* length of remote address */
struct sockaddr_in xp_raddr; /* remote address */
@@ -170,8 +170,8 @@ struct svc_req {
* int protocol; (like TCP or UDP, zero means do not register)
*/
__BEGIN_DECLS
-extern bool_t svc_register __P((SVCXPRT *, u_long, u_long,
- void (*) __P((struct svc_req *, SVCXPRT *)), int));
+extern bool_t svc_register (SVCXPRT *, u_long, u_long,
+ void (*) (struct svc_req *, SVCXPRT *), int);
__END_DECLS
/*
@@ -182,7 +182,7 @@ __END_DECLS
* u_long vers;
*/
__BEGIN_DECLS
-extern void svc_unregister __P((u_long, u_long));
+extern void svc_unregister (u_long, u_long);
__END_DECLS
/*
@@ -192,7 +192,7 @@ __END_DECLS
* SVCXPRT *xprt;
*/
__BEGIN_DECLS
-extern void xprt_register __P((SVCXPRT *));
+extern void xprt_register (SVCXPRT *);
__END_DECLS
/*
@@ -202,7 +202,7 @@ __END_DECLS
* SVCXPRT *xprt;
*/
__BEGIN_DECLS
-extern void xprt_unregister __P((SVCXPRT *));
+extern void xprt_unregister (SVCXPRT *);
__END_DECLS
@@ -235,14 +235,14 @@ __END_DECLS
*/
__BEGIN_DECLS
-extern bool_t svc_sendreply __P((SVCXPRT *, xdrproc_t, char *));
-extern void svcerr_decode __P((SVCXPRT *));
-extern void svcerr_weakauth __P((SVCXPRT *));
-extern void svcerr_noproc __P((SVCXPRT *));
-extern void svcerr_progvers __P((SVCXPRT *, u_long, u_long));
-extern void svcerr_auth __P((SVCXPRT *, enum auth_stat));
-extern void svcerr_noprog __P((SVCXPRT *));
-extern void svcerr_systemerr __P((SVCXPRT *));
+extern bool_t svc_sendreply (SVCXPRT *, xdrproc_t, char *);
+extern void svcerr_decode (SVCXPRT *);
+extern void svcerr_weakauth (SVCXPRT *);
+extern void svcerr_noproc (SVCXPRT *);
+extern void svcerr_progvers (SVCXPRT *, u_long, u_long);
+extern void svcerr_auth (SVCXPRT *, enum auth_stat);
+extern void svcerr_noprog (SVCXPRT *);
+extern void svcerr_systemerr (SVCXPRT *);
__END_DECLS
/*
@@ -273,10 +273,10 @@ extern void rpctest_service();
#endif
__BEGIN_DECLS
-extern void svc_getreq __P((int));
-extern void svc_getreqset __P((fd_set *));
-extern void svc_getreqset2 __P((fd_set *, int)); /* XXX: nonstd, undoc */
-extern void svc_run __P((void));
+extern void svc_getreq (int);
+extern void svc_getreqset (fd_set *);
+extern void svc_getreqset2 (fd_set *, int); /* XXX: nonstd, undoc */
+extern void svc_run (void);
__END_DECLS
/*
@@ -292,7 +292,7 @@ __END_DECLS
* Memory based rpc for testing and timing.
*/
__BEGIN_DECLS
-extern SVCXPRT *svcraw_create __P((void));
+extern SVCXPRT *svcraw_create (void);
__END_DECLS
@@ -300,8 +300,8 @@ __END_DECLS
* Udp based rpc.
*/
__BEGIN_DECLS
-extern SVCXPRT *svcudp_create __P((int));
-extern SVCXPRT *svcudp_bufcreate __P((int, u_int, u_int));
+extern SVCXPRT *svcudp_create (int);
+extern SVCXPRT *svcudp_bufcreate (int, u_int, u_int);
__END_DECLS
@@ -309,16 +309,16 @@ __END_DECLS
* Tcp based rpc.
*/
__BEGIN_DECLS
-extern SVCXPRT *svctcp_create __P((int, u_int, u_int));
-extern SVCXPRT *svcfd_create __P((int, u_int, u_int));
+extern SVCXPRT *svctcp_create (int, u_int, u_int);
+extern SVCXPRT *svcfd_create (int, u_int, u_int);
__END_DECLS
/*
* AF_UNIX socket based rpc.
*/
__BEGIN_DECLS
-extern SVCXPRT *svcunix_create __P((int, u_int, u_int, char *));
-extern SVCXPRT *svcunixfd_create __P((int, u_int, u_int));
+extern SVCXPRT *svcunix_create (int, u_int, u_int, char *);
+extern SVCXPRT *svcunixfd_create (int, u_int, u_int);
__END_DECLS
#endif /* !_RPC_SVC_H */