diff options
| author | Mark Murray <markm@FreeBSD.org> | 2003-05-11 18:27:49 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2003-05-11 18:27:49 +0000 |
| commit | 0813637235d5007c00e1c31ce104af98ced23e32 (patch) | |
| tree | 3849a7bccf9eaf054f46735c89aa776fbbe0a94b /libexec/telnetd | |
| parent | 074e8e8ee94bbdb07ff643188631fdad52f64479 (diff) | |
Notes
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 0cf95dbd463e3..2ed82d0b6aeea 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 d4eee1ad4f5ff..ad034418d3133 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 412fd941d259c..7b733e4743cfd 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 17686b366bac2..e0525d6312925 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 7532865cf2ca1..042fea55c8c63 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 14719a2b43305..8d8257d0f6df9 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 c835269b7bb39..042b248bd79c7 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> |
