summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-30 05:25:07 +0000
committerobrien <obrien@FreeBSD.org>2002-06-30 05:25:07 +0000
commitbc61fc95d838ba5e5b48f6ee9848c03ec72a5af3 (patch)
tree41763f513f184b022b2875b747c2d1e83d4ed74f /usr.bin/indent
parentb7edb33754da2677f5954d960946833612ef6c51 (diff)
downloadFreeBSD-src-bc61fc95d838ba5e5b48f6ee9848c03ec72a5af3.zip
FreeBSD-src-bc61fc95d838ba5e5b48f6ee9848c03ec72a5af3.tar.gz
Consistently use FBSDID
Diffstat (limited to 'usr.bin/indent')
-rw-r--r--usr.bin/indent/args.c4
-rw-r--r--usr.bin/indent/indent.c4
-rw-r--r--usr.bin/indent/io.c4
-rw-r--r--usr.bin/indent/lexi.c4
-rw-r--r--usr.bin/indent/parse.c4
-rw-r--r--usr.bin/indent/pr_comment.c10
6 files changed, 16 insertions, 14 deletions
diff --git a/usr.bin/indent/args.c b/usr.bin/indent/args.c
index b7515fd..7998fc7 100644
--- a/usr.bin/indent/args.c
+++ b/usr.bin/indent/args.c
@@ -37,9 +37,9 @@
#if 0
static char sccsid[] = "@(#)args.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* Argument scanning and profile reading code. Default parameters are set
diff --git a/usr.bin/indent/indent.c b/usr.bin/indent/indent.c
index 25c3635..82dad36 100644
--- a/usr.bin/indent/indent.c
+++ b/usr.bin/indent/indent.c
@@ -45,9 +45,9 @@ static const char copyright[] =
#if 0
static char sccsid[] = "@(#)indent.c 5.17 (Berkeley) 6/7/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <err.h>
diff --git a/usr.bin/indent/io.c b/usr.bin/indent/io.c
index e1e846e..d1bfcf3 100644
--- a/usr.bin/indent/io.c
+++ b/usr.bin/indent/io.c
@@ -37,9 +37,9 @@
#if 0
static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <ctype.h>
#include <err.h>
diff --git a/usr.bin/indent/lexi.c b/usr.bin/indent/lexi.c
index 7133a6f..68f76da 100644
--- a/usr.bin/indent/lexi.c
+++ b/usr.bin/indent/lexi.c
@@ -36,10 +36,10 @@
#if 0
#ifndef lint
static char sccsid[] = "@(#)lexi.c 8.1 (Berkeley) 6/6/93";
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* Here we have the token scanner for indent. It scans off one token and puts
diff --git a/usr.bin/indent/parse.c b/usr.bin/indent/parse.c
index b8c9a39..d83176a 100644
--- a/usr.bin/indent/parse.c
+++ b/usr.bin/indent/parse.c
@@ -35,10 +35,10 @@
#if 0
#ifndef lint
static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 6/6/93";
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdio.h>
#include "indent_globs.h"
diff --git a/usr.bin/indent/pr_comment.c b/usr.bin/indent/pr_comment.c
index f626205..32365dd 100644
--- a/usr.bin/indent/pr_comment.c
+++ b/usr.bin/indent/pr_comment.c
@@ -32,13 +32,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-#if 0
+
#ifndef lint
+#if 0
static char sccsid[] = "@(#)pr_comment.c 8.1 (Berkeley) 6/6/93";
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
#endif
+#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <stdio.h>
#include <stdlib.h>
#include "indent_globs.h"
OpenPOWER on IntegriCloud