summaryrefslogtreecommitdiffstats
path: root/bin/ls
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-02-03 20:55:54 +0000
committermarkm <markm@FreeBSD.org>2002-02-03 20:55:54 +0000
commit2973d468862a14fdb440e39dbc4d9a2a56b44009 (patch)
treed11f4793d28beee25ea92d4e32484bda0dabfc9f /bin/ls
parent1084c0a6b26480658bbc0109c5ce24949069a6dc (diff)
downloadFreeBSD-src-2973d468862a14fdb440e39dbc4d9a2a56b44009.zip
FreeBSD-src-2973d468862a14fdb440e39dbc4d9a2a56b44009.tar.gz
Use __FBSDID() and clean up the vendor tags.
Diffstat (limited to 'bin/ls')
-rw-r--r--bin/ls/cmp.c11
-rw-r--r--bin/ls/lomac.c4
-rw-r--r--bin/ls/ls.c11
-rw-r--r--bin/ls/print.c11
-rw-r--r--bin/ls/util.c11
5 files changed, 27 insertions, 21 deletions
diff --git a/bin/ls/cmp.c b/bin/ls/cmp.c
index 155edcc..981f1fc 100644
--- a/bin/ls/cmp.c
+++ b/bin/ls/cmp.c
@@ -34,14 +34,15 @@
* SUCH DAMAGE.
*/
-#ifndef lint
+#include <sys/cdefs.h>
+
+__FBSDID("$FreeBSD$");
+
#if 0
+#ifndef lint
static char sccsid[] = "@(#)cmp.c 8.1 (Berkeley) 5/31/93";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
#endif /* not lint */
+#endif
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/bin/ls/lomac.c b/bin/ls/lomac.c
index 2505da2..ed7e882 100644
--- a/bin/ls/lomac.c
+++ b/bin/ls/lomac.c
@@ -32,7 +32,6 @@
* SUCH DAMAGE.
*
* $Id: lomac.c,v 1.5 2001/11/26 19:25:52 bfeldman Exp $
- * $FreeBSD$
*/
/*
@@ -40,6 +39,9 @@
* this interface to determine the LOMAC attributes of files.
*/
+#include <sys/cdefs.h>
+ __FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <sys/lomacio.h>
diff --git a/bin/ls/ls.c b/bin/ls/ls.c
index c5216f3..466539b 100644
--- a/bin/ls/ls.c
+++ b/bin/ls/ls.c
@@ -34,20 +34,21 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+
+__FBSDID("$FreeBSD$");
+
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1989, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
-#ifndef lint
#if 0
+#ifndef lint
static char sccsid[] = "@(#)ls.c 8.5 (Berkeley) 4/2/94";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
#endif /* not lint */
+#endif
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/bin/ls/print.c b/bin/ls/print.c
index c4ebbc0..bcaf611 100644
--- a/bin/ls/print.c
+++ b/bin/ls/print.c
@@ -34,14 +34,15 @@
* SUCH DAMAGE.
*/
-#ifndef lint
+#include <sys/cdefs.h>
+
+__FBSDID("$FreeBSD$");
+
#if 0
+#ifndef lint
static char sccsid[] = "@(#)print.c 8.4 (Berkeley) 4/17/94";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
#endif /* not lint */
+#endif
#include <sys/param.h>
#include <sys/stat.h>
diff --git a/bin/ls/util.c b/bin/ls/util.c
index 34b5b18..172884c 100644
--- a/bin/ls/util.c
+++ b/bin/ls/util.c
@@ -34,14 +34,15 @@
* SUCH DAMAGE.
*/
-#ifndef lint
+#include <sys/types.h>
+
+__FBSDID("$FreeBSD$");
+
#if 0
+#ifndef lint
static char sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/2/94";
-#else
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
#endif /* not lint */
+#endif
#include <sys/types.h>
#include <sys/stat.h>
OpenPOWER on IntegriCloud