summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_auth.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-03-19 00:27:17 +0000
committermillert <millert@openbsd.org>1998-03-19 00:27:17 +0000
commita7c2f5b9ec5fe03e52aa9120426eb52be32846f7 (patch)
tree20f1ba2b217fd4a143c278f59c4ec3a56f2e0bff /lib/libc/rpc/svc_auth.c
parentinitialize all fileds in vfsconf when installing a new filesystem. (diff)
downloadwireguard-openbsd-a7c2f5b9ec5fe03e52aa9120426eb52be32846f7.tar.xz
wireguard-openbsd-a7c2f5b9ec5fe03e52aa9120426eb52be32846f7.zip
Some -Wall
Diffstat (limited to 'lib/libc/rpc/svc_auth.c')
-rw-r--r--lib/libc/rpc/svc_auth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/rpc/svc_auth.c b/lib/libc/rpc/svc_auth.c
index 95729a81e51..ba4d82d1d8e 100644
--- a/lib/libc/rpc/svc_auth.c
+++ b/lib/libc/rpc/svc_auth.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: svc_auth.c,v 1.3 1996/08/19 08:31:52 tholo Exp $";
+static char *rcsid = "$OpenBSD: svc_auth.c,v 1.4 1998/03/19 00:27:22 millert Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -62,9 +62,9 @@ enum auth_stat _svcauth_short(); /* short hand unix style */
static struct {
enum auth_stat (*authenticator)();
} svcauthsw[] = {
- _svcauth_null, /* AUTH_NULL */
- _svcauth_unix, /* AUTH_UNIX */
- _svcauth_short, /* AUTH_SHORT */
+ { _svcauth_null }, /* AUTH_NULL */
+ { _svcauth_unix }, /* AUTH_UNIX */
+ { _svcauth_short } /* AUTH_SHORT */
};
#define AUTH_MAX 2 /* HIGHEST AUTH NUMBER */