summaryrefslogtreecommitdiffstats
path: root/bin/sh
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/sh
parentc84c569bd147997ed62ff1c5e725709828199b68 (diff)
downloadFreeBSD-src-f6f518b207e19ee2f8ab4870471673b934719bfd.zip
FreeBSD-src-f6f518b207e19ee2f8ab4870471673b934719bfd.tar.gz
Consistently use FBSDID
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/alias.c4
-rw-r--r--bin/sh/cd.c4
-rw-r--r--bin/sh/error.c4
-rw-r--r--bin/sh/eval.c4
-rw-r--r--bin/sh/exec.c4
-rw-r--r--bin/sh/expand.c4
-rw-r--r--bin/sh/histedit.c4
-rw-r--r--bin/sh/input.c4
-rw-r--r--bin/sh/jobs.c4
-rw-r--r--bin/sh/mail.c4
-rw-r--r--bin/sh/main.c4
-rw-r--r--bin/sh/memalloc.c4
-rw-r--r--bin/sh/miscbltin.c4
-rw-r--r--bin/sh/mkinit.c4
-rw-r--r--bin/sh/mknodes.c4
-rw-r--r--bin/sh/mksyntax.c4
-rw-r--r--bin/sh/mystring.c4
-rw-r--r--bin/sh/options.c4
-rw-r--r--bin/sh/output.c4
-rw-r--r--bin/sh/parser.c4
-rw-r--r--bin/sh/redir.c4
-rw-r--r--bin/sh/show.c4
-rw-r--r--bin/sh/trap.c4
-rw-r--r--bin/sh/var.c4
24 files changed, 48 insertions, 48 deletions
diff --git a/bin/sh/alias.c b/bin/sh/alias.c
index f6b462b..1e4b81c 100644
--- a/bin/sh/alias.c
+++ b/bin/sh/alias.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)alias.c 8.3 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdlib.h>
#include "shell.h"
diff --git a/bin/sh/cd.c b/bin/sh/cd.c
index 2c0e6dc..9121dc4 100644
--- a/bin/sh/cd.c
+++ b/bin/sh/cd.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)cd.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/bin/sh/error.c b/bin/sh/error.c
index 96e6534..77ade56 100644
--- a/bin/sh/error.c
+++ b/bin/sh/error.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)error.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* Errors and exceptions.
diff --git a/bin/sh/eval.c b/bin/sh/eval.c
index 0c3f85b..5d8f309 100644
--- a/bin/sh/eval.c
+++ b/bin/sh/eval.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)eval.c 8.9 (Berkeley) 6/8/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <signal.h>
#include <unistd.h>
diff --git a/bin/sh/exec.c b/bin/sh/exec.c
index c503617..cd6c700 100644
--- a/bin/sh/exec.c
+++ b/bin/sh/exec.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)exec.c 8.4 (Berkeley) 6/8/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/bin/sh/expand.c b/bin/sh/expand.c
index 46214b9..eaab1bd 100644
--- a/bin/sh/expand.c
+++ b/bin/sh/expand.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)expand.c 8.5 (Berkeley) 5/15/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/time.h>
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c
index 51e419c..37a10bf 100644
--- a/bin/sh/histedit.c
+++ b/bin/sh/histedit.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)histedit.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <limits.h>
diff --git a/bin/sh/input.c b/bin/sh/input.c
index b1b9e79..9f8df53 100644
--- a/bin/sh/input.c
+++ b/bin/sh/input.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)input.c 8.3 (Berkeley) 6/9/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdio.h> /* defines BUFSIZ */
#include <fcntl.h>
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c
index 9be3e04..efdb69e 100644
--- a/bin/sh/jobs.c
+++ b/bin/sh/jobs.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <fcntl.h>
#include <signal.h>
diff --git a/bin/sh/mail.c b/bin/sh/mail.c
index 1b3594f..482b501 100644
--- a/bin/sh/mail.c
+++ b/bin/sh/mail.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)mail.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* Routines to check for mail. (Perhaps make part of main.c?)
diff --git a/bin/sh/main.c b/bin/sh/main.c
index 460693a..962546b 100644
--- a/bin/sh/main.c
+++ b/bin/sh/main.c
@@ -44,9 +44,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/28/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdio.h>
#include <signal.h>
diff --git a/bin/sh/memalloc.c b/bin/sh/memalloc.c
index 651501c..a50d661 100644
--- a/bin/sh/memalloc.c
+++ b/bin/sh/memalloc.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)memalloc.c 8.3 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "shell.h"
#include "output.h"
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c
index 21fc11e..2b7ab9c 100644
--- a/bin/sh/miscbltin.c
+++ b/bin/sh/miscbltin.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)miscbltin.c 8.4 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* Miscellaneous builtins.
diff --git a/bin/sh/mkinit.c b/bin/sh/mkinit.c
index 4aa29fc..5902fe6 100644
--- a/bin/sh/mkinit.c
+++ b/bin/sh/mkinit.c
@@ -44,9 +44,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)mkinit.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* This program scans all the source files for code to handle various
diff --git a/bin/sh/mknodes.c b/bin/sh/mknodes.c
index 1f14eab..371ca16 100644
--- a/bin/sh/mknodes.c
+++ b/bin/sh/mknodes.c
@@ -44,9 +44,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)mknodes.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* This program reads the nodetypes file and nodes.c.pat file. It generates
diff --git a/bin/sh/mksyntax.c b/bin/sh/mksyntax.c
index 778ab3c..0b5971d 100644
--- a/bin/sh/mksyntax.c
+++ b/bin/sh/mksyntax.c
@@ -44,9 +44,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)mksyntax.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* This program creates syntax.h and syntax.c.
diff --git a/bin/sh/mystring.c b/bin/sh/mystring.c
index 993cbd2..bc3d1ca 100644
--- a/bin/sh/mystring.c
+++ b/bin/sh/mystring.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)mystring.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* String functions.
diff --git a/bin/sh/options.c b/bin/sh/options.c
index 07ca3db..54fdd72 100644
--- a/bin/sh/options.c
+++ b/bin/sh/options.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <signal.h>
#include <unistd.h>
diff --git a/bin/sh/output.c b/bin/sh/output.c
index ab56b42..f6c0ef0 100644
--- a/bin/sh/output.c
+++ b/bin/sh/output.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)output.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* Shell output routines. We use our own output routines because:
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index e885848..ac6b288 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)parser.c 8.7 (Berkeley) 5/16/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdlib.h>
diff --git a/bin/sh/redir.c b/bin/sh/redir.c
index 60a6151..ec9e5cc 100644
--- a/bin/sh/redir.c
+++ b/bin/sh/redir.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)redir.c 8.2 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/bin/sh/show.c b/bin/sh/show.c
index 0e9a181..e6bf574 100644
--- a/bin/sh/show.c
+++ b/bin/sh/show.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)show.c 8.3 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdarg.h>
diff --git a/bin/sh/trap.c b/bin/sh/trap.c
index 20bd9f9..67f3077 100644
--- a/bin/sh/trap.c
+++ b/bin/sh/trap.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)trap.c 8.5 (Berkeley) 6/5/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <signal.h>
#include <unistd.h>
diff --git a/bin/sh/var.c b/bin/sh/var.c
index 8a3abb7..a4241af 100644
--- a/bin/sh/var.c
+++ b/bin/sh/var.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 5/4/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <unistd.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud