Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/login fix the USE_KERBEROS=no USE_PAM=no build.



details:   https://anonhg.NetBSD.org/src/rev/21140be0e36e
branches:  trunk
changeset: 778980:21140be0e36e
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 23 18:27:15 2012 +0000

description:
fix the USE_KERBEROS=no USE_PAM=no build.

diffstat:

 usr.bin/login/login.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 78aab83e856a -r 21140be0e36e usr.bin/login/login.c
--- a/usr.bin/login/login.c     Mon Apr 23 17:44:39 2012 +0000
+++ b/usr.bin/login/login.c     Mon Apr 23 18:27:15 2012 +0000
@@ -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 @@
 #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 @@
 #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



Home | Main Index | Thread Index | Old Index