diff options
author | pst <pst@FreeBSD.org> | 1996-09-21 18:01:23 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-09-21 18:01:23 +0000 |
commit | 8ddc5c2acbfa73f018832908bd4d02dd8420a73b (patch) | |
tree | c1594dee9df21368508e76549bc4efae8bfa4225 /usr.bin/login/klogin.c | |
parent | 25c24d56c4839f53e198209871a77513e42bb102 (diff) | |
download | FreeBSD-src-8ddc5c2acbfa73f018832908bd4d02dd8420a73b.zip FreeBSD-src-8ddc5c2acbfa73f018832908bd4d02dd8420a73b.tar.gz |
Fix some compilation warnings.
Diffstat (limited to 'usr.bin/login/klogin.c')
-rw-r--r-- | usr.bin/login/klogin.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/login/klogin.c b/usr.bin/login/klogin.c index 934cb91..4263786 100644 --- a/usr.bin/login/klogin.c +++ b/usr.bin/login/klogin.c @@ -67,18 +67,20 @@ klogin(pw, instance, localhost, password) char *instance, *localhost, *password; { int kerror; - AUTH_DAT authdata; - KTEXT_ST ticket; - struct hostent *hp; - unsigned long faddr; char realm[REALM_SZ], savehost[MAXHOSTNAMELEN]; char tkt_location[MAXPATHLEN]; char *krb_get_phost(); extern int noticketsdontcomplain; -#ifdef KLOGIN_PARANOID +#ifdef KLOGIN_PARANOID + AUTH_DAT authdata; + KTEXT_ST ticket; + struct hostent *hp; + unsigned long faddr; + noticketsdontcomplain = 0; /* enable warning message */ #endif + /* * Root logins don't use Kerberos. * If we have a realm, try getting a ticket-granting ticket |