summaryrefslogtreecommitdiffstats
path: root/bin/ed
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-30 05:13:54 +0000
committerobrien <obrien@FreeBSD.org>2002-06-30 05:13:54 +0000
commitc84c569bd147997ed62ff1c5e725709828199b68 (patch)
tree4c7fe36c579d443e1734fa7f4d5c003df04f4202 /bin/ed
parent51373f0ac8027bc2ce81c9e4f0c3203716197592 (diff)
downloadFreeBSD-src-c84c569bd147997ed62ff1c5e725709828199b68.zip
FreeBSD-src-c84c569bd147997ed62ff1c5e725709828199b68.tar.gz
Consistently use __FBSDID
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/buf.c6
-rw-r--r--bin/ed/cbc.c6
-rw-r--r--bin/ed/glbl.c7
-rw-r--r--bin/ed/io.c6
-rw-r--r--bin/ed/main.c6
-rw-r--r--bin/ed/re.c6
-rw-r--r--bin/ed/sub.c6
-rw-r--r--bin/ed/undo.c6
8 files changed, 16 insertions, 33 deletions
diff --git a/bin/ed/buf.c b/bin/ed/buf.c
index 4f36602..db1f0e9 100644
--- a/bin/ed/buf.c
+++ b/bin/ed/buf.c
@@ -26,10 +26,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/file.h>
#include <sys/stat.h>
diff --git a/bin/ed/cbc.c b/bin/ed/cbc.c
index 9802bd6..b0b0153 100644
--- a/bin/ed/cbc.c
+++ b/bin/ed/cbc.c
@@ -35,10 +35,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <errno.h>
diff --git a/bin/ed/glbl.c b/bin/ed/glbl.c
index 06c6848..11dcc19 100644
--- a/bin/ed/glbl.c
+++ b/bin/ed/glbl.c
@@ -26,13 +26,10 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
-
#include <sys/ioctl.h>
#include <sys/wait.h>
diff --git a/bin/ed/io.c b/bin/ed/io.c
index b0edf24..9ea8303 100644
--- a/bin/ed/io.c
+++ b/bin/ed/io.c
@@ -25,10 +25,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "ed.h"
diff --git a/bin/ed/main.c b/bin/ed/main.c
index 13e0b8a..349dbbf 100644
--- a/bin/ed/main.c
+++ b/bin/ed/main.c
@@ -32,10 +32,8 @@ static const char copyright[] =
All rights reserved.\n";
#endif /* not lint */
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* CREDITS
diff --git a/bin/ed/re.c b/bin/ed/re.c
index 5cd43fa..234824e 100644
--- a/bin/ed/re.c
+++ b/bin/ed/re.c
@@ -26,10 +26,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "ed.h"
diff --git a/bin/ed/sub.c b/bin/ed/sub.c
index b8d215b..1c44328 100644
--- a/bin/ed/sub.c
+++ b/bin/ed/sub.c
@@ -26,10 +26,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "ed.h"
diff --git a/bin/ed/undo.c b/bin/ed/undo.c
index 73d488c..6a8ca9e 100644
--- a/bin/ed/undo.c
+++ b/bin/ed/undo.c
@@ -25,10 +25,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "ed.h"
OpenPOWER on IntegriCloud