diff options
author | alfred <alfred@FreeBSD.org> | 2002-03-21 22:52:45 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-03-21 22:52:45 +0000 |
commit | acb803ded70e981257cede85f302eac710ce3486 (patch) | |
tree | 00333017058cb96b67aeb7a52a7319bd626db826 /usr.sbin/rpc.lockd | |
parent | da481742fe10db46be0a0f92255f012bcfa3a0a9 (diff) | |
download | FreeBSD-src-acb803ded70e981257cede85f302eac710ce3486.zip FreeBSD-src-acb803ded70e981257cede85f302eac710ce3486.tar.gz |
Remove __P.
Diffstat (limited to 'usr.sbin/rpc.lockd')
-rw-r--r-- | usr.sbin/rpc.lockd/lock_proc.c | 8 | ||||
-rw-r--r-- | usr.sbin/rpc.lockd/lockd.c | 16 | ||||
-rw-r--r-- | usr.sbin/rpc.lockd/lockd_lock.h | 6 |
3 files changed, 15 insertions, 15 deletions
diff --git a/usr.sbin/rpc.lockd/lock_proc.c b/usr.sbin/rpc.lockd/lock_proc.c index 06efd91..c322f61 100644 --- a/usr.sbin/rpc.lockd/lock_proc.c +++ b/usr.sbin/rpc.lockd/lock_proc.c @@ -61,9 +61,9 @@ __RCSID("$NetBSD: lock_proc.c,v 1.7 2000/10/11 20:23:56 is Exp $"); #define CLIENT_CACHE_SIZE 64 /* No. of client sockets cached */ #define CLIENT_CACHE_LIFETIME 120 /* In seconds */ -static void log_from_addr __P((char *, struct svc_req *)); -static void log_netobj __P((netobj *obj)); -static int addrcmp __P((struct sockaddr *, struct sockaddr *)); +static void log_from_addr(char *, struct svc_req *); +static void log_netobj(netobj *obj); +static int addrcmp(struct sockaddr *, struct sockaddr *); /* log_from_addr ----------------------------------------------------------- */ /* @@ -361,7 +361,7 @@ transmit4_result(opcode, result, addr) /* * converts a struct nlm_lock to struct nlm4_lock */ -static void nlmtonlm4 __P((struct nlm_lock *, struct nlm4_lock *)); +static void nlmtonlm4(struct nlm_lock *, struct nlm4_lock *); static void nlmtonlm4(arg, arg4) struct nlm_lock *arg; diff --git a/usr.sbin/rpc.lockd/lockd.c b/usr.sbin/rpc.lockd/lockd.c index e78c69d..dc1d80e 100644 --- a/usr.sbin/rpc.lockd/lockd.c +++ b/usr.sbin/rpc.lockd/lockd.c @@ -75,14 +75,14 @@ pid_t client_pid; struct mon mon_host; void init_nsm(void); -int main __P((int, char **)); -void nlm_prog_0 __P((struct svc_req *, SVCXPRT *)); -void nlm_prog_1 __P((struct svc_req *, SVCXPRT *)); -void nlm_prog_3 __P((struct svc_req *, SVCXPRT *)); -void nlm_prog_4 __P((struct svc_req *, SVCXPRT *)); -void usage __P((void)); - -void sigalarm_handler __P((void)); +int main(int, char **); +void nlm_prog_0(struct svc_req *, SVCXPRT *); +void nlm_prog_1(struct svc_req *, SVCXPRT *); +void nlm_prog_3(struct svc_req *, SVCXPRT *); +void nlm_prog_4(struct svc_req *, SVCXPRT *); +void usage(void); + +void sigalarm_handler(void); const char *transports[] = { "udp", "tcp", "udp6", "tcp6" }; diff --git a/usr.sbin/rpc.lockd/lockd_lock.h b/usr.sbin/rpc.lockd/lockd_lock.h index 01a2efd..62f6981 100644 --- a/usr.sbin/rpc.lockd/lockd_lock.h +++ b/usr.sbin/rpc.lockd/lockd_lock.h @@ -20,6 +20,6 @@ void notify(const char *hostname, const int state); #define LOCK_CANCEL 0x08 /* cancel, not unlock request (unlock only) */ /* callbacks from lock_proc.c */ -void transmit_result __P((int, nlm_res *, struct sockaddr *)); -void transmit4_result __P((int, nlm4_res *, struct sockaddr *)); -CLIENT *get_client __P((struct sockaddr *, rpcvers_t)); +void transmit_result(int, nlm_res *, struct sockaddr *); +void transmit4_result(int, nlm4_res *, struct sockaddr *); +CLIENT *get_client(struct sockaddr *, rpcvers_t); |