summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_auth_unix.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2005-04-01 07:44:03 +0000
committerotto <otto@openbsd.org>2005-04-01 07:44:03 +0000
commit384ec30a651d095cda9dd6c443e0e00a6d20c547 (patch)
tree3e0758f47e4a82bf2f591cf06e8ed06eb3910e54 /lib/libc/rpc/svc_auth_unix.c
parentconnect stat(1) to build (diff)
downloadwireguard-openbsd-384ec30a651d095cda9dd6c443e0e00a6d20c547.tar.xz
wireguard-openbsd-384ec30a651d095cda9dd6c443e0e00a6d20c547.zip
ansify. ok deraadt@ jaredy@
Diffstat (limited to 'lib/libc/rpc/svc_auth_unix.c')
-rw-r--r--lib/libc/rpc/svc_auth_unix.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/rpc/svc_auth_unix.c b/lib/libc/rpc/svc_auth_unix.c
index bf3f98c765b..50b84ef68fb 100644
--- a/lib/libc/rpc/svc_auth_unix.c
+++ b/lib/libc/rpc/svc_auth_unix.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.7 2001/09/15 13:51:01 deraadt Exp $";
+static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.8 2005/04/01 07:44:04 otto Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -50,9 +50,7 @@ static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.7 2001/09/15 13:51:01 deraad
* Unix longhand authenticator
*/
enum auth_stat
-_svcauth_unix(rqst, msg)
- struct svc_req *rqst;
- struct rpc_msg *msg;
+_svcauth_unix(struct svc_req *rqst, struct rpc_msg *msg)
{
enum auth_stat stat;
XDR xdrs;
@@ -127,9 +125,7 @@ done:
*/
/*ARGSUSED*/
enum auth_stat
-_svcauth_short(rqst, msg)
- struct svc_req *rqst;
- struct rpc_msg *msg;
+_svcauth_short(struct svc_req *rqst, struct rpc_msg *msg)
{
return (AUTH_REJECTEDCRED);
}