Module Name: src Committed By: christos Date: Mon Apr 23 18:27:15 UTC 2012
Modified Files: src/usr.bin/login: login.c Log Message: fix the USE_KERBEROS=no USE_PAM=no build. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/usr.bin/login/login.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/login/login.c diff -u src/usr.bin/login/login.c:1.99 src/usr.bin/login/login.c:1.100 --- src/usr.bin/login/login.c:1.99 Sun Apr 22 19:26:19 2012 +++ src/usr.bin/login/login.c Mon Apr 23 14:27:15 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: login.c,v 1.99 2012/04/22 23:26:19 christos Exp $ */ +/* $NetBSD: login.c,v 1.100 2012/04/23 18:27:15 christos Exp $ */ /*- * Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19 #if 0 static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94"; #endif -__RCSID("$NetBSD: login.c,v 1.99 2012/04/22 23:26:19 christos Exp $"); +__RCSID("$NetBSD: login.c,v 1.100 2012/04/23 18:27:15 christos Exp $"); #endif /* not lint */ /* @@ -119,13 +119,14 @@ static void usage(void); #if defined(KERBEROS5) int has_ccache = 0; static int notickets = 1; -static char *instance; extern krb5_context kcontext; extern int have_forward; extern char *krb5tkfile_env; extern int krb5_configured; #endif +static char *instance; + #if defined(KERBEROS5) #define KERBEROS_CONFIGURED krb5_configured #endif