PERFORCE change 30757 for review
Peter Wemm
peter at FreeBSD.org
Wed May 7 23:49:05 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=30757
Change 30757 by peter at peter_daintree on 2003/05/07 23:48:51
make the debug variable static. Will the real telnetd please
stand up?
Affected files ...
.. //depot/projects/hammer/crypto/heimdal/appl/telnet/telnetd/telnetd.c#3 edit
.. //depot/projects/hammer/crypto/telnet/telnetd/telnetd.c#3 edit
.. //depot/projects/hammer/libexec/telnetd/telnetd.c#2 edit
Differences ...
==== //depot/projects/hammer/crypto/heimdal/appl/telnet/telnetd/telnetd.c#3 (text+ko) ====
@@ -116,7 +116,7 @@
int lowpty = 0, highpty; /* low, high pty numbers */
#endif /* CRAY */
-int debug = 0;
+static int debug = 0;
int keepalive = 1;
char *progname;
==== //depot/projects/hammer/crypto/telnet/telnetd/telnetd.c#3 (text+ko) ====
@@ -78,7 +78,7 @@
int hostinfo = 1; /* do we print login banner? */
-int debug = 0;
+static int debug = 0;
int keepalive = 1;
const char *altlogin;
==== //depot/projects/hammer/libexec/telnetd/telnetd.c#2 (text+ko) ====
@@ -71,7 +71,7 @@
int hostinfo = 1; /* do we print login banner? */
-int debug = 0;
+debug int debug = 0;
int keepalive = 1;
const char *altlogin;
More information about the p4-projects
mailing list