diff options
author | markm <markm@FreeBSD.org> | 2003-05-11 18:17:00 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-05-11 18:17:00 +0000 |
commit | 141dcc06d33af21b6ab2f50416283892a6c6ed75 (patch) | |
tree | ab30b2d99d3bc7fb655df51c1bd008475a6a0535 /contrib/telnet/telnetd | |
parent | 2d4780fd3a431ff83b576afcefb980fc85f5b8b4 (diff) | |
download | FreeBSD-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.c | 2 |
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; |