aboutsummaryrefslogtreecommitdiff
path: root/contrib/telnet
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-10-01 16:04:55 +0000
committerMark Murray <markm@FreeBSD.org>2001-10-01 16:04:55 +0000
commitf2ac7de925431ada9eb55447031e673f8c4e6257 (patch)
tree60688d22691e6217d0de15bf9c657ecc8e9fd55a /contrib/telnet
parentfef722a4a093564d7b9d3ef7060d939d6bf0ebd5 (diff)
downloadsrc-f2ac7de925431ada9eb55447031e673f8c4e6257.tar.gz
src-f2ac7de925431ada9eb55447031e673f8c4e6257.zip
Add __FBSDID() to diff-reduce with "base" telnet.
Notes
Notes: svn path=/head/; revision=84305
Diffstat (limited to 'contrib/telnet')
-rw-r--r--contrib/telnet/libtelnet/auth.c3
-rw-r--r--contrib/telnet/libtelnet/enc_des.c3
-rw-r--r--contrib/telnet/libtelnet/encrypt.c6
-rw-r--r--contrib/telnet/libtelnet/genget.c6
-rw-r--r--contrib/telnet/libtelnet/getent.c6
-rw-r--r--contrib/telnet/libtelnet/kerberos.c3
-rw-r--r--contrib/telnet/libtelnet/kerberos5.c9
-rw-r--r--contrib/telnet/libtelnet/krb4encpwd.c5
-rw-r--r--contrib/telnet/libtelnet/misc.c6
-rw-r--r--contrib/telnet/libtelnet/pk.c4
-rw-r--r--contrib/telnet/libtelnet/read_password.c5
-rw-r--r--contrib/telnet/libtelnet/rsaencpwd.c3
-rw-r--r--contrib/telnet/libtelnet/spx.c6
-rw-r--r--contrib/telnet/libtelnet/sra.c3
14 files changed, 40 insertions, 28 deletions
diff --git a/contrib/telnet/libtelnet/auth.c b/contrib/telnet/libtelnet/auth.c
index 7140499d4952..eb1e20ce0d86 100644
--- a/contrib/telnet/libtelnet/auth.c
+++ b/contrib/telnet/libtelnet/auth.c
@@ -33,6 +33,9 @@
* $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
static const char sccsid[] = "@(#)auth.c 8.3 (Berkeley) 5/30/95";
#endif /* not lint */
diff --git a/contrib/telnet/libtelnet/enc_des.c b/contrib/telnet/libtelnet/enc_des.c
index c72e596af8ef..21113e5bbceb 100644
--- a/contrib/telnet/libtelnet/enc_des.c
+++ b/contrib/telnet/libtelnet/enc_des.c
@@ -33,6 +33,9 @@
* $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
static const char sccsid[] = "@(#)enc_des.c 8.3 (Berkeley) 5/30/95";
#endif /* not lint */
diff --git a/contrib/telnet/libtelnet/encrypt.c b/contrib/telnet/libtelnet/encrypt.c
index bb3a43c3a62d..d78f9048d1f7 100644
--- a/contrib/telnet/libtelnet/encrypt.c
+++ b/contrib/telnet/libtelnet/encrypt.c
@@ -31,12 +31,12 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
#if 0
static const char sccsid[] = "@(#)encrypt.c 8.2 (Berkeley) 5/30/95";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
#endif
#endif /* not lint */
diff --git a/contrib/telnet/libtelnet/genget.c b/contrib/telnet/libtelnet/genget.c
index 62f272a640de..e46b1cb463a1 100644
--- a/contrib/telnet/libtelnet/genget.c
+++ b/contrib/telnet/libtelnet/genget.c
@@ -31,12 +31,12 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
#if 0
static const char sccsid[] = "@(#)genget.c 8.2 (Berkeley) 5/30/95";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
#endif
#endif /* not lint */
diff --git a/contrib/telnet/libtelnet/getent.c b/contrib/telnet/libtelnet/getent.c
index 03bef5f24255..ee6f03f53156 100644
--- a/contrib/telnet/libtelnet/getent.c
+++ b/contrib/telnet/libtelnet/getent.c
@@ -31,12 +31,12 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
#if 0
static char sccsid[] = "@(#)getent.c 8.2 (Berkeley) 12/15/93";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
#endif
#endif /* not lint */
diff --git a/contrib/telnet/libtelnet/kerberos.c b/contrib/telnet/libtelnet/kerberos.c
index 3b6155e593b4..d7628e3c7c12 100644
--- a/contrib/telnet/libtelnet/kerberos.c
+++ b/contrib/telnet/libtelnet/kerberos.c
@@ -33,6 +33,9 @@
* $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
static const char sccsid[] = "@(#)kerberos.c 8.3 (Berkeley) 5/30/95";
#endif /* not lint */
diff --git a/contrib/telnet/libtelnet/kerberos5.c b/contrib/telnet/libtelnet/kerberos5.c
index 78264b4d33d2..f3b3e705e0eb 100644
--- a/contrib/telnet/libtelnet/kerberos5.c
+++ b/contrib/telnet/libtelnet/kerberos5.c
@@ -4,13 +4,8 @@
* $Id: kerberos5.c,v 1.1 1997/09/04 06:11:15 markm Exp $
*/
-#if !defined(lint) && !defined(SABER)
-static
-#ifdef __STDC__
-const
-#endif
-char rcsid_kerberos5_c[] = "$FreeBSD$";
-#endif /* lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*-
* Copyright (c) 1991, 1993
diff --git a/contrib/telnet/libtelnet/krb4encpwd.c b/contrib/telnet/libtelnet/krb4encpwd.c
index 3184a529ce0d..d0d2b489d5ab 100644
--- a/contrib/telnet/libtelnet/krb4encpwd.c
+++ b/contrib/telnet/libtelnet/krb4encpwd.c
@@ -29,10 +29,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
static char sccsid[] = "@(#)krb4encpwd.c 8.3 (Berkeley) 5/30/95";
#endif /* not lint */
diff --git a/contrib/telnet/libtelnet/misc.c b/contrib/telnet/libtelnet/misc.c
index a13beb5cf39c..c9ebec747524 100644
--- a/contrib/telnet/libtelnet/misc.c
+++ b/contrib/telnet/libtelnet/misc.c
@@ -31,12 +31,12 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
#if 0
static const char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
#endif
#endif /* not lint */
diff --git a/contrib/telnet/libtelnet/pk.c b/contrib/telnet/libtelnet/pk.c
index aa0cd430b130..fe2510222b17 100644
--- a/contrib/telnet/libtelnet/pk.c
+++ b/contrib/telnet/libtelnet/pk.c
@@ -1,5 +1,4 @@
/* public key routines */
-/* $FreeBSD$ */
/* functions:
genkeys(char *public, char *secret)
common_key(char *secret, char *public, desData *deskey)
@@ -10,6 +9,9 @@
char secret[HEXKEYBYTES + 1];
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/time.h>
#include <openssl/des.h>
#include <fcntl.h>
diff --git a/contrib/telnet/libtelnet/read_password.c b/contrib/telnet/libtelnet/read_password.c
index f97729088068..f2a85cd5e83f 100644
--- a/contrib/telnet/libtelnet/read_password.c
+++ b/contrib/telnet/libtelnet/read_password.c
@@ -31,12 +31,13 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
#if 0
static char sccsid[] = "@(#)read_password.c 8.3 (Berkeley) 5/30/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
/*
diff --git a/contrib/telnet/libtelnet/rsaencpwd.c b/contrib/telnet/libtelnet/rsaencpwd.c
index 5906d999af68..fa6043c1604e 100644
--- a/contrib/telnet/libtelnet/rsaencpwd.c
+++ b/contrib/telnet/libtelnet/rsaencpwd.c
@@ -31,6 +31,9 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
static char sccsid[] = "@(#)rsaencpwd.c 8.3 (Berkeley) 5/30/95";
#endif /* not lint */
diff --git a/contrib/telnet/libtelnet/spx.c b/contrib/telnet/libtelnet/spx.c
index 75d6e3e6d8af..ad1eca4b352a 100644
--- a/contrib/telnet/libtelnet/spx.c
+++ b/contrib/telnet/libtelnet/spx.c
@@ -31,12 +31,12 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
#if 0
static char sccsid[] = "@(#)spx.c 8.2 (Berkeley) 5/30/95";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
#endif
#endif /* not lint */
diff --git a/contrib/telnet/libtelnet/sra.c b/contrib/telnet/libtelnet/sra.c
index 72bf4803d1c6..ca801cc19adf 100644
--- a/contrib/telnet/libtelnet/sra.c
+++ b/contrib/telnet/libtelnet/sra.c
@@ -1,4 +1,5 @@
-/* $FreeBSD$ */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#ifdef SRA
#include <sys/types.h>