From 6d57a1a176004a7d8fc009cdcf760098f86e3263 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 16 Feb 2002 21:28:12 +0000 Subject: Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. --- usr.sbin/ypbind/ypbind.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'usr.sbin/ypbind') diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c index 0be3fd8ea28..cd0852b67c4 100644 --- a/usr.sbin/ypbind/ypbind.c +++ b/usr.sbin/ypbind/ypbind.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypbind.c,v 1.41 2001/12/29 00:50:29 deraadt Exp $ */ +/* $OpenBSD: ypbind.c,v 1.42 2002/02/16 21:28:11 millert Exp $ */ /* * Copyright (c) 1997,1998 Theo de Raadt @@ -35,7 +35,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: ypbind.c,v 1.41 2001/12/29 00:50:29 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ypbind.c,v 1.42 2002/02/16 21:28:11 millert Exp $"; #endif #include @@ -93,14 +93,14 @@ extern bool_t xdr_domainname(), xdr_ypbind_resp(); extern bool_t xdr_ypreq_key(), xdr_ypresp_val(); extern bool_t xdr_ypbind_setdom(); -void rpc_received __P((char *dom, struct sockaddr_in *raddrp, int force)); -void checkwork __P((void)); -enum clnt_stat handle_replies __P((void)); -enum clnt_stat handle_ping __P((void)); -int broadcast __P((struct _dom_binding *ypdb, char *, int)); -int direct __P((struct _dom_binding *ypdb, char *, int)); -int ping __P((struct _dom_binding *ypdb)); -int pings __P((struct _dom_binding *ypdb)); +void rpc_received(char *dom, struct sockaddr_in *raddrp, int force); +void checkwork(void); +enum clnt_stat handle_replies(void); +enum clnt_stat handle_ping(void); +int broadcast(struct _dom_binding *ypdb, char *, int); +int direct(struct _dom_binding *ypdb, char *, int); +int ping(struct _dom_binding *ypdb); +int pings(struct _dom_binding *ypdb); char *domain; @@ -121,8 +121,8 @@ u_long rmtcr_port; SVCXPRT *udptransp, *tcptransp; SVCXPRT *ludptransp, *ltcptransp; -struct _dom_binding *xid2ypdb __P((u_int32_t xid)); -u_int32_t unique_xid __P((struct _dom_binding *ypdb)); +struct _dom_binding *xid2ypdb(u_int32_t xid); +u_int32_t unique_xid(struct _dom_binding *ypdb); /* * We name the local RPC functions ypbindproc_XXX_2x() instead -- cgit v1.2.3