aboutsummaryrefslogtreecommitdiff
path: root/bin/chmod
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chmod')
-rw-r--r--bin/chmod/Makefile3
-rw-r--r--bin/chmod/Makefile.depend2
-rw-r--r--bin/chmod/chmod.13
-rw-r--r--bin/chmod/chmod.c16
-rw-r--r--bin/chmod/tests/Makefile2
-rw-r--r--bin/chmod/tests/Makefile.depend1
-rwxr-xr-xbin/chmod/tests/chmod_test.sh1
7 files changed, 1 insertions, 27 deletions
diff --git a/bin/chmod/Makefile b/bin/chmod/Makefile
index ffb3352ba553..6ad01ed4b716 100644
--- a/bin/chmod/Makefile
+++ b/bin/chmod/Makefile
@@ -1,6 +1,3 @@
-# @(#)Makefile 8.1 (Berkeley) 5/31/93
-# $FreeBSD$
-
.include <src.opts.mk>
PACKAGE=runtime
diff --git a/bin/chmod/Makefile.depend b/bin/chmod/Makefile.depend
index 6cfaab1c3644..6ef78fac5cbf 100644
--- a/bin/chmod/Makefile.depend
+++ b/bin/chmod/Makefile.depend
@@ -1,8 +1,6 @@
-# $FreeBSD$
# Autogenerated - do NOT edit!
DIRDEPS = \
- gnu/lib/csu \
include \
include/xlocale \
lib/${CSU_DIR} \
diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1
index e6a5ff8f63cf..b4c79d0f037a 100644
--- a/bin/chmod/chmod.1
+++ b/bin/chmod/chmod.1
@@ -29,9 +29,6 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
-.\" $FreeBSD$
-.\"
.Dd January 7, 2017
.Dt CHMOD 1
.Os
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index e8657af0d97b..78bf3137b9ed 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -29,20 +29,6 @@
* SUCH DAMAGE.
*/
-#if 0
-#ifndef lint
-static char const copyright[] =
-"@(#) Copyright (c) 1989, 1993, 1994\n\
- The Regents of the University of California. All rights reserved.\n";
-#endif /* not lint */
-
-#ifndef lint
-static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
-#endif /* not lint */
-#endif
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
#include <sys/param.h>
#include <sys/stat.h>
@@ -59,7 +45,7 @@ __FBSDID("$FreeBSD$");
static volatile sig_atomic_t siginfo;
-static void usage(void);
+static void usage(void) __dead2;
static int may_have_nfs4acl(const FTSENT *ent, int hflag);
static void
diff --git a/bin/chmod/tests/Makefile b/bin/chmod/tests/Makefile
index 1cf107f9d35b..a27b7c3aec48 100644
--- a/bin/chmod/tests/Makefile
+++ b/bin/chmod/tests/Makefile
@@ -1,5 +1,3 @@
-# $FreeBSD$
-
ATF_TESTS_SH+= chmod_test
.include <bsd.test.mk>
diff --git a/bin/chmod/tests/Makefile.depend b/bin/chmod/tests/Makefile.depend
index f80275d86ab1..11aba52f82cf 100644
--- a/bin/chmod/tests/Makefile.depend
+++ b/bin/chmod/tests/Makefile.depend
@@ -1,4 +1,3 @@
-# $FreeBSD$
# Autogenerated - do NOT edit!
DIRDEPS = \
diff --git a/bin/chmod/tests/chmod_test.sh b/bin/chmod/tests/chmod_test.sh
index 8cd766327fa8..b1db336b13c4 100755
--- a/bin/chmod/tests/chmod_test.sh
+++ b/bin/chmod/tests/chmod_test.sh
@@ -23,7 +23,6 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $FreeBSD$
get_filesystem()
{