summaryrefslogtreecommitdiffstats
path: root/bin/stty
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-30 05:15:05 +0000
committerobrien <obrien@FreeBSD.org>2002-06-30 05:15:05 +0000
commitf6f518b207e19ee2f8ab4870471673b934719bfd (patch)
treea81b89aa01c8dade88dcffbf674c9d85b7c85d4f /bin/stty
parentc84c569bd147997ed62ff1c5e725709828199b68 (diff)
downloadFreeBSD-src-f6f518b207e19ee2f8ab4870471673b934719bfd.zip
FreeBSD-src-f6f518b207e19ee2f8ab4870471673b934719bfd.tar.gz
Consistently use FBSDID
Diffstat (limited to 'bin/stty')
-rw-r--r--bin/stty/cchar.c4
-rw-r--r--bin/stty/gfmt.c4
-rw-r--r--bin/stty/key.c5
-rw-r--r--bin/stty/modes.c4
-rw-r--r--bin/stty/print.c4
-rw-r--r--bin/stty/stty.c4
-rw-r--r--bin/stty/util.c4
7 files changed, 14 insertions, 15 deletions
diff --git a/bin/stty/cchar.c b/bin/stty/cchar.c
index 297ba6b..bb909ad 100644
--- a/bin/stty/cchar.c
+++ b/bin/stty/cchar.c
@@ -35,9 +35,9 @@
#if 0
static char sccsid[] = "@(#)cchar.c 8.5 (Berkeley) 4/2/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
diff --git a/bin/stty/gfmt.c b/bin/stty/gfmt.c
index be0218a..dbf2532 100644
--- a/bin/stty/gfmt.c
+++ b/bin/stty/gfmt.c
@@ -35,9 +35,9 @@
#if 0
static char sccsid[] = "@(#)gfmt.c 8.6 (Berkeley) 4/2/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
diff --git a/bin/stty/key.c b/bin/stty/key.c
index 1b9ce2b..78bc2ed 100644
--- a/bin/stty/key.c
+++ b/bin/stty/key.c
@@ -34,11 +34,10 @@
#ifndef lint
#if 0
static char sccsid[] = "@(#)key.c 8.3 (Berkeley) 4/2/94";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
#endif
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
diff --git a/bin/stty/modes.c b/bin/stty/modes.c
index 9cfcfea..d5400e7 100644
--- a/bin/stty/modes.c
+++ b/bin/stty/modes.c
@@ -35,9 +35,9 @@
#if 0
static char sccsid[] = "@(#)modes.c 8.3 (Berkeley) 4/2/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <stddef.h>
diff --git a/bin/stty/print.c b/bin/stty/print.c
index 63fe8d6..064d4e7 100644
--- a/bin/stty/print.c
+++ b/bin/stty/print.c
@@ -35,9 +35,9 @@
#if 0
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
diff --git a/bin/stty/stty.c b/bin/stty/stty.c
index 049667a..75d05ff 100644
--- a/bin/stty/stty.c
+++ b/bin/stty/stty.c
@@ -41,9 +41,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)stty.c 8.3 (Berkeley) 4/2/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
diff --git a/bin/stty/util.c b/bin/stty/util.c
index a5b6790..a2678d8 100644
--- a/bin/stty/util.c
+++ b/bin/stty/util.c
@@ -35,9 +35,9 @@
#if 0
static char sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/2/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/stat.h>
OpenPOWER on IntegriCloud