summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_auth.c
diff options
context:
space:
mode:
authorjraynard <jraynard@FreeBSD.org>1996-06-11 17:22:51 +0000
committerjraynard <jraynard@FreeBSD.org>1996-06-11 17:22:51 +0000
commite23bbcc2a98c2c149ee4872a1732a6b341d66f84 (patch)
tree0794adfeaf014167a9bcae491e23ec49d092fea9 /lib/libc/rpc/svc_auth.c
parentab0ef148aeb8f95b582d87536bd38ed68b2bbf01 (diff)
downloadFreeBSD-src-e23bbcc2a98c2c149ee4872a1732a6b341d66f84.zip
FreeBSD-src-e23bbcc2a98c2c149ee4872a1732a6b341d66f84.tar.gz
Code cleanup:
Fixed a couple of nitpick warnings, plus one that slipped through the net earlier. This directory now compiles without any warnings with -Wall! (Until the next gcc upgrade...)
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 6c1e560..4ce0caf 100644
--- a/lib/libc/rpc/svc_auth.c
+++ b/lib/libc/rpc/svc_auth.c
@@ -30,7 +30,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)svc_auth.c 1.19 87/08/11 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)svc_auth.c 2.1 88/08/07 4.0 RPCSRC";*/
-static char *rcsid = "$Id: svc_auth.c,v 1.1 1994/08/07 18:36:07 wollman Exp $";
+static char *rcsid = "$Id: svc_auth.c,v 1.2 1995/05/30 05:41:32 rgrimes Exp $";
#endif
/*
@@ -64,9 +64,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 */
OpenPOWER on IntegriCloud