diff options
author | obrien <obrien@FreeBSD.org> | 2003-05-04 02:54:49 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-05-04 02:54:49 +0000 |
commit | c3792f8bd926539973db34033a84333af43d74b1 (patch) | |
tree | 36c385908e5b4ad0d9a8d2e599febfeef1cf455a /contrib/telnet/telnetd | |
parent | 3d2af48d351f39ec9434ba144d9cb3c4bb5bde43 (diff) | |
download | FreeBSD-src-c3792f8bd926539973db34033a84333af43d74b1.zip FreeBSD-src-c3792f8bd926539973db34033a84333af43d74b1.tar.gz |
Use __FBSDID vs. rcsid[]. Also protect sccs[] and copyright[] from GCC 3.3.
Diffstat (limited to 'contrib/telnet/telnetd')
-rw-r--r-- | contrib/telnet/telnetd/authenc.c | 8 | ||||
-rw-r--r-- | contrib/telnet/telnetd/global.c | 8 | ||||
-rw-r--r-- | contrib/telnet/telnetd/slc.c | 8 | ||||
-rw-r--r-- | contrib/telnet/telnetd/state.c | 8 | ||||
-rw-r--r-- | contrib/telnet/telnetd/sys_term.c | 8 | ||||
-rw-r--r-- | contrib/telnet/telnetd/telnetd.c | 8 | ||||
-rw-r--r-- | contrib/telnet/telnetd/termstat.c | 8 | ||||
-rw-r--r-- | contrib/telnet/telnetd/utility.c | 8 |
8 files changed, 32 insertions, 32 deletions
diff --git a/contrib/telnet/telnetd/authenc.c b/contrib/telnet/telnetd/authenc.c index fd5f585..9377b52 100644 --- a/contrib/telnet/telnetd/authenc.c +++ b/contrib/telnet/telnetd/authenc.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> - -__FBSDID("$FreeBSD$"); - +#if 0 #ifndef lint static const char sccsid[] = "@(#)authenc.c 8.2 (Berkeley) 5/30/95"; #endif +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #ifdef AUTHENTICATION #ifdef ENCRYPTION diff --git a/contrib/telnet/telnetd/global.c b/contrib/telnet/telnetd/global.c index 0cf95db..2ed82d0 100644 --- a/contrib/telnet/telnetd/global.c +++ b/contrib/telnet/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/contrib/telnet/telnetd/slc.c b/contrib/telnet/telnetd/slc.c index d4eee1a..ad03441 100644 --- a/contrib/telnet/telnetd/slc.c +++ b/contrib/telnet/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/contrib/telnet/telnetd/state.c b/contrib/telnet/telnetd/state.c index 93de48e..9db4516 100644 --- a/contrib/telnet/telnetd/state.c +++ b/contrib/telnet/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/contrib/telnet/telnetd/sys_term.c b/contrib/telnet/telnetd/sys_term.c index 1e832e3..151c5b4 100644 --- a/contrib/telnet/telnetd/sys_term.c +++ b/contrib/telnet/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/contrib/telnet/telnetd/telnetd.c b/contrib/telnet/telnetd/telnetd.c index 02f21cf..6a5a623 100644 --- a/contrib/telnet/telnetd/telnetd.c +++ b/contrib/telnet/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" diff --git a/contrib/telnet/telnetd/termstat.c b/contrib/telnet/telnetd/termstat.c index c7dc845..36f5997 100644 --- a/contrib/telnet/telnetd/termstat.c +++ b/contrib/telnet/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/contrib/telnet/telnetd/utility.c b/contrib/telnet/telnetd/utility.c index 4bbbfb8..54e2327 100644 --- a/contrib/telnet/telnetd/utility.c +++ b/contrib/telnet/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> |