summaryrefslogtreecommitdiffstats
path: root/contrib/telnet/telnetd
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2003-05-11 18:17:00 +0000
committermarkm <markm@FreeBSD.org>2003-05-11 18:17:00 +0000
commit141dcc06d33af21b6ab2f50416283892a6c6ed75 (patch)
treeab30b2d99d3bc7fb655df51c1bd008475a6a0535 /contrib/telnet/telnetd
parent2d4780fd3a431ff83b576afcefb980fc85f5b8b4 (diff)
downloadFreeBSD-src-141dcc06d33af21b6ab2f50416283892a6c6ed75.zip
FreeBSD-src-141dcc06d33af21b6ab2f50416283892a6c6ed75.tar.gz
Fix up external variables named "debug" that have a horrible habit
of conflicting with other, similarly named functions in static libraries. This is done mostly by renaming the var if it is shared amongst modules, or making it static otherwise. OK'ed by: re(scottl)
Diffstat (limited to 'contrib/telnet/telnetd')
-rw-r--r--contrib/telnet/telnetd/telnetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/telnet/telnetd/telnetd.c b/contrib/telnet/telnetd/telnetd.c
index 6a5a623..bdb76d7 100644
--- a/contrib/telnet/telnetd/telnetd.c
+++ b/contrib/telnet/telnetd/telnetd.c
@@ -78,7 +78,7 @@ int terminaltypeok(char *);
int hostinfo = 1; /* do we print login banner? */
-int debug = 0;
+static int debug = 0;
int keepalive = 1;
const char *altlogin;
OpenPOWER on IntegriCloud