diff options
author | markm <markm@FreeBSD.org> | 2003-05-11 18:27:49 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-05-11 18:27:49 +0000 |
commit | fc4822f39a8e7e97128395b08fe26a085b317c0c (patch) | |
tree | 3849a7bccf9eaf054f46735c89aa776fbbe0a94b /libexec/telnetd | |
parent | 141dcc06d33af21b6ab2f50416283892a6c6ed75 (diff) | |
download | FreeBSD-src-fc4822f39a8e7e97128395b08fe26a085b317c0c.zip FreeBSD-src-fc4822f39a8e7e97128395b08fe26a085b317c0c.tar.gz |
Mrege from crypto telnet with "make unifdef". This gets a bunch of
$FreeBSD$ tags and some debug variable safety belts.
Diffstat (limited to 'libexec/telnetd')
-rw-r--r-- | libexec/telnetd/global.c | 8 | ||||
-rw-r--r-- | libexec/telnetd/slc.c | 8 | ||||
-rw-r--r-- | libexec/telnetd/state.c | 8 | ||||
-rw-r--r-- | libexec/telnetd/sys_term.c | 8 | ||||
-rw-r--r-- | libexec/telnetd/telnetd.c | 10 | ||||
-rw-r--r-- | libexec/telnetd/termstat.c | 8 | ||||
-rw-r--r-- | libexec/telnetd/utility.c | 8 |
7 files changed, 29 insertions, 29 deletions
diff --git a/libexec/telnetd/global.c b/libexec/telnetd/global.c index 0cf95db..2ed82d0 100644 --- a/libexec/telnetd/global.c +++ b/libexec/telnetd/global.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static const char sccsid[] = "@(#)global.c 8.1 (Berkeley) 6/4/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Allocate global variables. We do this diff --git a/libexec/telnetd/slc.c b/libexec/telnetd/slc.c index d4eee1a..ad03441 100644 --- a/libexec/telnetd/slc.c +++ b/libexec/telnetd/slc.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> - -__FBSDID("$FreeBSD$"); - +#if 0 #ifndef lint static const char sccsid[] = "@(#)slc.c 8.2 (Berkeley) 5/30/95"; #endif +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "telnetd.h" diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c index 412fd94..7b733e4 100644 --- a/libexec/telnetd/state.c +++ b/libexec/telnetd/state.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> - -__FBSDID("$FreeBSD$"); - +#if 0 #ifndef lint static const char sccsid[] = "@(#)state.c 8.5 (Berkeley) 5/30/95"; #endif +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <stdarg.h> #include "telnetd.h" diff --git a/libexec/telnetd/sys_term.c b/libexec/telnetd/sys_term.c index 17686b3..e0525d6 100644 --- a/libexec/telnetd/sys_term.c +++ b/libexec/telnetd/sys_term.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> - -__FBSDID("$FreeBSD$"); - +#if 0 #ifndef lint static const char sccsid[] = "@(#)sys_term.c 8.4+1 (Berkeley) 5/30/95"; #endif +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/tty.h> diff --git a/libexec/telnetd/telnetd.c b/libexec/telnetd/telnetd.c index 7532865..042fea5 100644 --- a/libexec/telnetd/telnetd.c +++ b/libexec/telnetd/telnetd.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> - -__FBSDID("$FreeBSD$"); - +#if 0 #ifndef lint static const char sccsid[] = "@(#)telnetd.c 8.4 (Berkeley) 5/30/95"; #endif +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "telnetd.h" #include "pathnames.h" @@ -71,7 +71,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; diff --git a/libexec/telnetd/termstat.c b/libexec/telnetd/termstat.c index 14719a2..8d8257d 100644 --- a/libexec/telnetd/termstat.c +++ b/libexec/telnetd/termstat.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> - -__FBSDID("$FreeBSD$"); - +#if 0 #ifndef lint static const char sccsid[] = "@(#)termstat.c 8.2 (Berkeley) 5/30/95"; #endif +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "telnetd.h" diff --git a/libexec/telnetd/utility.c b/libexec/telnetd/utility.c index c835269..042b248 100644 --- a/libexec/telnetd/utility.c +++ b/libexec/telnetd/utility.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static const char sccsid[] = "@(#)utility.c 8.4 (Berkeley) 5/30/95"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #ifdef __FreeBSD__ #include <locale.h> |