summaryrefslogtreecommitdiffstats
path: root/bin
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
parentc84c569bd147997ed62ff1c5e725709828199b68 (diff)
downloadFreeBSD-src-f6f518b207e19ee2f8ab4870471673b934719bfd.zip
FreeBSD-src-f6f518b207e19ee2f8ab4870471673b934719bfd.tar.gz
Consistently use FBSDID
Diffstat (limited to 'bin')
-rw-r--r--bin/pax/ar_io.c4
-rw-r--r--bin/pax/ar_subs.c4
-rw-r--r--bin/pax/buf_subs.c4
-rw-r--r--bin/pax/cache.c4
-rw-r--r--bin/pax/cpio.c4
-rw-r--r--bin/pax/file_subs.c4
-rw-r--r--bin/pax/ftree.c4
-rw-r--r--bin/pax/gen_subs.c4
-rw-r--r--bin/pax/getoldopt.c5
-rw-r--r--bin/pax/options.c2
-rw-r--r--bin/pax/pat_rep.c4
-rw-r--r--bin/pax/pax.c4
-rw-r--r--bin/pax/sel_subs.c4
-rw-r--r--bin/pax/tables.c4
-rw-r--r--bin/pax/tar.c4
-rw-r--r--bin/pax/tty_subs.c4
-rw-r--r--bin/ps/fmt.c6
-rw-r--r--bin/ps/keyword.c6
-rw-r--r--bin/ps/lomac.c1
-rw-r--r--bin/ps/nlist.c6
-rw-r--r--bin/ps/print.c6
-rw-r--r--bin/ps/ps.c5
-rw-r--r--bin/pwd/pwd.c4
-rw-r--r--bin/rcp/rcp.c4
-rw-r--r--bin/rcp/util.c4
-rw-r--r--bin/rm/rm.c5
-rw-r--r--bin/rmdir/rmdir.c4
-rw-r--r--bin/setfacl/file.c5
-rw-r--r--bin/setfacl/mask.c5
-rw-r--r--bin/setfacl/merge.c5
-rw-r--r--bin/setfacl/remove.c5
-rw-r--r--bin/setfacl/setfacl.c5
-rw-r--r--bin/setfacl/util.c5
-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
-rw-r--r--bin/sleep/sleep.c4
-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
-rw-r--r--bin/sync/sync.c4
-rw-r--r--bin/test/test.c6
67 files changed, 138 insertions, 145 deletions
diff --git a/bin/pax/ar_io.c b/bin/pax/ar_io.c
index a8abea4..83bb68d 100644
--- a/bin/pax/ar_io.c
+++ b/bin/pax/ar_io.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/ioctl.h>
diff --git a/bin/pax/ar_subs.c b/bin/pax/ar_subs.c
index ac6cb11..118614a 100644
--- a/bin/pax/ar_subs.c
+++ b/bin/pax/ar_subs.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)ar_subs.c 8.2 (Berkeley) 4/18/94";
#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/pax/buf_subs.c b/bin/pax/buf_subs.c
index 401e623..6e85b07 100644
--- a/bin/pax/buf_subs.c
+++ b/bin/pax/buf_subs.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
#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/pax/cache.c b/bin/pax/cache.c
index a7f3538..28bb895 100644
--- a/bin/pax/cache.c
+++ b/bin/pax/cache.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93";
#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/pax/cpio.c b/bin/pax/cpio.c
index ae51a37..ed403db 100644
--- a/bin/pax/cpio.c
+++ b/bin/pax/cpio.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)cpio.c 8.1 (Berkeley) 5/31/93";
#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/pax/file_subs.c b/bin/pax/file_subs.c
index 44d9064..711c5de 100644
--- a/bin/pax/file_subs.c
+++ b/bin/pax/file_subs.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93";
#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/pax/ftree.c b/bin/pax/ftree.c
index 0eb3c35..91331d4 100644
--- a/bin/pax/ftree.c
+++ b/bin/pax/ftree.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94";
#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/pax/gen_subs.c b/bin/pax/gen_subs.c
index 6daefa4..86e729f 100644
--- a/bin/pax/gen_subs.c
+++ b/bin/pax/gen_subs.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
#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/pax/getoldopt.c b/bin/pax/getoldopt.c
index 291e155..ca18d91 100644
--- a/bin/pax/getoldopt.c
+++ b/bin/pax/getoldopt.c
@@ -10,9 +10,8 @@
* in the Pubic Domain for your edification and enjoyment.
*/
-#ifndef lint
-static const char rcsid[] = "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdio.h>
#include <string.h>
diff --git a/bin/pax/options.c b/bin/pax/options.c
index 45ca520..26eadaa 100644
--- a/bin/pax/options.c
+++ b/bin/pax/options.c
@@ -40,6 +40,8 @@
static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
#endif
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
diff --git a/bin/pax/pat_rep.c b/bin/pax/pat_rep.c
index b4998ed..e7dc4f3 100644
--- a/bin/pax/pat_rep.c
+++ b/bin/pax/pat_rep.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)pat_rep.c 8.2 (Berkeley) 4/18/94";
#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/pax/pax.c b/bin/pax/pax.c
index d3bf18f..649ad3e 100644
--- a/bin/pax/pax.c
+++ b/bin/pax/pax.c
@@ -45,9 +45,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)pax.c 8.2 (Berkeley) 4/18/94";
#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/pax/sel_subs.c b/bin/pax/sel_subs.c
index 1dfa616..130b8e9 100644
--- a/bin/pax/sel_subs.c
+++ b/bin/pax/sel_subs.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)sel_subs.c 8.1 (Berkeley) 5/31/93";
#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/pax/tables.c b/bin/pax/tables.c
index 48d5350..9696181 100644
--- a/bin/pax/tables.c
+++ b/bin/pax/tables.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)tables.c 8.1 (Berkeley) 5/31/93";
#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/pax/tar.c b/bin/pax/tar.c
index b869cfa..43dcdda 100644
--- a/bin/pax/tar.c
+++ b/bin/pax/tar.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)tar.c 8.2 (Berkeley) 4/18/94";
#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/pax/tty_subs.c b/bin/pax/tty_subs.c
index c8200c4..a56d56b 100644
--- a/bin/pax/tty_subs.c
+++ b/bin/pax/tty_subs.c
@@ -39,9 +39,9 @@
#if 0
static char sccsid[] = "@(#)tty_subs.c 8.2 (Berkeley) 4/18/94";
#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/ps/fmt.c b/bin/ps/fmt.c
index 9263886..fd8d4e7 100644
--- a/bin/ps/fmt.c
+++ b/bin/ps/fmt.c
@@ -31,15 +31,13 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
-
#if 0
#ifndef lint
static char sccsid[] = "@(#)fmt.c 8.4 (Berkeley) 4/15/94";
#endif
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/time.h>
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index e27a09d..4bc00fc 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -31,15 +31,13 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
-
#if 0
#ifndef lint
static char sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
#endif /* not lint */
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/time.h>
diff --git a/bin/ps/lomac.c b/bin/ps/lomac.c
index 5a09b3a..f651955 100644
--- a/bin/ps/lomac.c
+++ b/bin/ps/lomac.c
@@ -40,7 +40,6 @@
*/
#include <sys/cdefs.h>
-
__FBSDID("$FreeBSD$");
#include <sys/types.h>
diff --git a/bin/ps/nlist.c b/bin/ps/nlist.c
index 19acfb8..30de18e 100644
--- a/bin/ps/nlist.c
+++ b/bin/ps/nlist.c
@@ -31,15 +31,13 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
-
#if 0
#ifndef lint
static char sccsid[] = "@(#)nlist.c 8.4 (Berkeley) 4/2/94";
#endif /* not lint */
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/sysctl.h>
diff --git a/bin/ps/print.c b/bin/ps/print.c
index a38cd25..87b2e5d 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -31,15 +31,13 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
-
#if 0
#ifndef lint
static char sccsid[] = "@(#)print.c 8.6 (Berkeley) 4/16/94";
#endif /* not lint */
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/time.h>
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 515e9f3..8b23a1d 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -31,9 +31,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1990, 1993, 1994\n\
@@ -45,6 +42,8 @@ static const char copyright[] =
static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
#endif /* not lint */
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/user.h>
diff --git a/bin/pwd/pwd.c b/bin/pwd/pwd.c
index c66276d..6d51792 100644
--- a/bin/pwd/pwd.c
+++ b/bin/pwd/pwd.c
@@ -41,9 +41,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)pwd.c 8.3 (Berkeley) 4/1/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/stat.h>
diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c
index b34506d..f36af01 100644
--- a/bin/rcp/rcp.c
+++ b/bin/rcp/rcp.c
@@ -48,9 +48,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)rcp.c 8.2 (Berkeley) 4/2/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/stat.h>
diff --git a/bin/rcp/util.c b/bin/rcp/util.c
index 4174589..2e63c05 100644
--- a/bin/rcp/util.c
+++ b/bin/rcp/util.c
@@ -35,9 +35,9 @@
#if 0
static char sccsid[] = "@(#)util.c 8.2 (Berkeley) 4/2/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/stat.h>
diff --git a/bin/rm/rm.c b/bin/rm/rm.c
index f2665ed..3457454 100644
--- a/bin/rm/rm.c
+++ b/bin/rm/rm.c
@@ -40,11 +40,10 @@ static const char copyright[] =
#ifndef lint
#if 0
static char sccsid[] = "@(#)rm.c 8.5 (Berkeley) 4/18/94";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
#endif
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <sys/param.h>
diff --git a/bin/rmdir/rmdir.c b/bin/rmdir/rmdir.c
index 3ab22dd..f869c3f 100644
--- a/bin/rmdir/rmdir.c
+++ b/bin/rmdir/rmdir.c
@@ -41,9 +41,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)rmdir.c 8.3 (Berkeley) 4/2/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <err.h>
#include <errno.h>
diff --git a/bin/setfacl/file.c b/bin/setfacl/file.c
index d2cdb98..c9d21d6 100644
--- a/bin/setfacl/file.c
+++ b/bin/setfacl/file.c
@@ -22,10 +22,11 @@
* CONTRACT, STRICT 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$");
+
#include <sys/types.h>
#include <sys/acl.h>
diff --git a/bin/setfacl/mask.c b/bin/setfacl/mask.c
index 2106548..e4d18f7 100644
--- a/bin/setfacl/mask.c
+++ b/bin/setfacl/mask.c
@@ -22,10 +22,11 @@
* CONTRACT, STRICT 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$");
+
#include <sys/types.h>
#include <sys/acl.h>
#include <sys/stat.h>
diff --git a/bin/setfacl/merge.c b/bin/setfacl/merge.c
index 45e03ee..b9d45f8 100644
--- a/bin/setfacl/merge.c
+++ b/bin/setfacl/merge.c
@@ -22,10 +22,11 @@
* CONTRACT, STRICT 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$");
+
#include <sys/types.h>
#include <sys/acl.h>
#include <sys/stat.h>
diff --git a/bin/setfacl/remove.c b/bin/setfacl/remove.c
index e4f2f35..dc0c3a8 100644
--- a/bin/setfacl/remove.c
+++ b/bin/setfacl/remove.c
@@ -22,10 +22,11 @@
* CONTRACT, STRICT 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$");
+
#include <sys/types.h>
#include <sys/acl.h>
#include <sys/stat.h>
diff --git a/bin/setfacl/setfacl.c b/bin/setfacl/setfacl.c
index b008e1d..367909b 100644
--- a/bin/setfacl/setfacl.c
+++ b/bin/setfacl/setfacl.c
@@ -22,10 +22,11 @@
* CONTRACT, STRICT 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$");
+
#include <sys/types.h>
#include <sys/param.h>
#include <sys/stat.h>
diff --git a/bin/setfacl/util.c b/bin/setfacl/util.c
index 2c1a6e27..4976301 100644
--- a/bin/setfacl/util.c
+++ b/bin/setfacl/util.c
@@ -22,10 +22,11 @@
* CONTRACT, STRICT 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$");
+
#include <err.h>
#include <stdlib.h>
#include <string.h>
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>
diff --git a/bin/sleep/sleep.c b/bin/sleep/sleep.c
index 94263e5..7b1fb2a 100644
--- a/bin/sleep/sleep.c
+++ b/bin/sleep/sleep.c
@@ -41,9 +41,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)sleep.c 8.3 (Berkeley) 4/2/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <ctype.h>
#include <limits.h>
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>
diff --git a/bin/sync/sync.c b/bin/sync/sync.c
index 54ea61e..42a7abd 100644
--- a/bin/sync/sync.c
+++ b/bin/sync/sync.c
@@ -41,9 +41,9 @@ static char const copyright[] =
#if 0
static char sccsid[] = "@(#)sync.c 8.1 (Berkeley) 5/31/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <unistd.h>
diff --git a/bin/test/test.c b/bin/test/test.c
index 4086bd7..912b845 100644
--- a/bin/test/test.c
+++ b/bin/test/test.c
@@ -10,10 +10,8 @@
* This program is in the Public Domain.
*/
-#ifndef lint
-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