summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypbind
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
committermillert <millert@openbsd.org>2002-02-16 21:27:05 +0000
commitc72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch)
tree1ac67aab11df5f96856c0e3015d691db7dc9e811 /usr.sbin/ypbind
parentdefault to rsa keyfile path for non key generation operations where (diff)
downloadwireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz
wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.zip
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.
Diffstat (limited to 'usr.sbin/ypbind')
-rw-r--r--usr.sbin/ypbind/ypbind.c24
1 files changed, 12 insertions, 12 deletions
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 <deraadt@OpenBSD.org>
@@ -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 <sys/param.h>
@@ -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