Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/telnetd Make the debug variable static, to accomodat...
details: https://anonhg.NetBSD.org/src/rev/87d102678aad
branches: trunk
changeset: 587727:87d102678aad
user: he <he%NetBSD.org@localhost>
date: Thu Feb 02 18:31:12 2006 +0000
description:
Make the debug variable static, to accomodate static linking with libssh.a.
diffstat:
libexec/telnetd/telnetd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b58bc80c9557 -r 87d102678aad libexec/telnetd/telnetd.c
--- a/libexec/telnetd/telnetd.c Thu Feb 02 18:00:07 2006 +0000
+++ b/libexec/telnetd/telnetd.c Thu Feb 02 18:31:12 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: telnetd.c,v 1.48 2005/06/21 22:29:53 lha Exp $ */
+/* $NetBSD: telnetd.c,v 1.49 2006/02/02 18:31:12 he Exp $ */
/*
* Copyright (C) 1997 and 1998 WIDE Project.
@@ -65,7 +65,7 @@
#if 0
static char sccsid[] = "@(#)telnetd.c 8.4 (Berkeley) 5/30/95";
#else
-__RCSID("$NetBSD: telnetd.c,v 1.48 2005/06/21 22:29:53 lha Exp $");
+__RCSID("$NetBSD: telnetd.c,v 1.49 2006/02/02 18:31:12 he Exp $");
#endif
#endif /* not lint */
@@ -116,7 +116,7 @@
int hostinfo = 1; /* do we print login banner? */
-int debug = 0;
+static int debug = 0;
int keepalive = 1;
char *gettyname = "default";
char *progname;
Home |
Main Index |
Thread Index |
Old Index