summaryrefslogtreecommitdiff
path: root/include/rpc/svc.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-15 13:16:59 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-15 13:16:59 +0000
commit67fb342b086501f95fdadb3cf69ff9abb7a714e7 (patch)
treeaccf534064acd6e76fa8e45a6252fbeb52f5593c /include/rpc/svc.h
parent6c7a9c98a3331b4dc2044ca1ba232e05926b1aae (diff)
Makeheader files be more like GNU
Diffstat (limited to 'include/rpc/svc.h')
-rw-r--r--include/rpc/svc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/rpc/svc.h b/include/rpc/svc.h
index 1039bcc15..4ac2a5cdf 100644
--- a/include/rpc/svc.h
+++ b/include/rpc/svc.h
@@ -78,18 +78,18 @@ struct SVCXPRT {
int xp_sock;
u_short xp_port; /* associated port number */
const struct xp_ops {
- bool_t (*xp_recv) __P ((SVCXPRT *__xprt, struct rpc_msg *__msg));
+ bool_t (*xp_recv) __PMT ((SVCXPRT *__xprt, struct rpc_msg *__msg));
/* receive incoming requests */
- enum xprt_stat (*xp_stat) __P ((SVCXPRT *__xprt));
+ enum xprt_stat (*xp_stat) __PMT ((SVCXPRT *__xprt));
/* get transport status */
- bool_t (*xp_getargs) __P ((SVCXPRT *__xprt, xdrproc_t __xdr_args,
+ bool_t (*xp_getargs) __PMT ((SVCXPRT *__xprt, xdrproc_t __xdr_args,
caddr_t args_ptr)); /* get arguments */
- bool_t (*xp_reply) __P ((SVCXPRT *__xprt, struct rpc_msg *__msg));
+ bool_t (*xp_reply) __PMT ((SVCXPRT *__xprt, struct rpc_msg *__msg));
/* send reply */
- bool_t (*xp_freeargs) __P ((SVCXPRT *__xprt, xdrproc_t __xdr_args,
+ bool_t (*xp_freeargs) __PMT ((SVCXPRT *__xprt, xdrproc_t __xdr_args,
caddr_t args_ptr));
/* free mem allocated for args */
- void (*xp_destroy) __P ((SVCXPRT *__xprt));
+ void (*xp_destroy) __PMT ((SVCXPRT *__xprt));
/* destroy this struct */
} *xp_ops;
int xp_addrlen; /* length of remote address */
@@ -157,7 +157,7 @@ struct svc_req {
#ifndef __DISPATCH_FN_T
#define __DISPATCH_FN_T
-typedef void (*__dispatch_fn_t) __P ((struct svc_req*, SVCXPRT*));
+typedef void (*__dispatch_fn_t) __PMT ((struct svc_req*, SVCXPRT*));
#endif
/*