aboutsummaryrefslogtreecommitdiff
path: root/bin/chio
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chio')
-rw-r--r--bin/chio/Makefile3
-rw-r--r--bin/chio/Makefile.depend2
-rw-r--r--bin/chio/chio.12
-rw-r--r--bin/chio/chio.c18
-rw-r--r--bin/chio/defs.h1
-rw-r--r--bin/chio/pathnames.h1
6 files changed, 4 insertions, 23 deletions
diff --git a/bin/chio/Makefile b/bin/chio/Makefile
index a88e7df4604c..817c200a1c81 100644
--- a/bin/chio/Makefile
+++ b/bin/chio/Makefile
@@ -1,6 +1,3 @@
-# $FreeBSD$
-# @(#)Makefile 8.1 (Berkeley) 6/6/93
-
PACKAGE=utilities
PROG= chio
diff --git a/bin/chio/Makefile.depend b/bin/chio/Makefile.depend
index 6cfaab1c3644..6ef78fac5cbf 100644
--- a/bin/chio/Makefile.depend
+++ b/bin/chio/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/chio/chio.1 b/bin/chio/chio.1
index b177e45f4656..e455ee27270e 100644
--- a/bin/chio/chio.1
+++ b/bin/chio/chio.1
@@ -30,8 +30,6 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $FreeBSD$
-.\"
.Dd October 5, 2016
.Dt CHIO 1
.Os
diff --git a/bin/chio/chio.c b/bin/chio/chio.c
index 3264db8bb18d..07def55ee88f 100644
--- a/bin/chio/chio.c
+++ b/bin/chio/chio.c
@@ -32,19 +32,9 @@
*/
/*
* Additional Copyright (c) 1997, by Matthew Jacob, for NASA/Ames Research Ctr.
- * Addidional Copyright (c) 2000, by C. Stephen Gunn, Waterspout Communications
+ * Additional Copyright (c) 2000, by C. Stephen Gunn, Waterspout Communications
*/
-#if 0
-#ifndef lint
-static const char copyright[] =
- "@(#) Copyright (c) 1996 Jason R. Thorpe. All rights reserved.";
-#endif /* not lint */
-#endif
-
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
#include <sys/param.h>
#include <sys/chio.h>
#include <err.h>
@@ -60,7 +50,7 @@ __FBSDID("$FreeBSD$");
#include "defs.h"
#include "pathnames.h"
-static void usage(void);
+static void usage(void) __dead2;
static void cleanup(void);
static u_int16_t parse_element_type(char *);
static u_int16_t parse_element_unit(char *);
@@ -427,7 +417,7 @@ do_position(const char *cname, int argc, char **argv)
/* ARGSUSED */
static int
-do_params(const char *cname, int argc, char **argv)
+do_params(const char *cname, int argc, char **argv __unused)
{
struct changer_params data;
int picker;
@@ -470,7 +460,7 @@ do_params(const char *cname, int argc, char **argv)
/* ARGSUSED */
static int
-do_getpicker(const char *cname, int argc, char **argv)
+do_getpicker(const char *cname, int argc, char **argv __unused)
{
int picker;
diff --git a/bin/chio/defs.h b/bin/chio/defs.h
index 8f10c9d9243a..6b4381a3d447 100644
--- a/bin/chio/defs.h
+++ b/bin/chio/defs.h
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/*-
* Copyright (c) 1996 Jason R. Thorpe <thorpej@and.com>
diff --git a/bin/chio/pathnames.h b/bin/chio/pathnames.h
index 5b9b1e429dc2..a8308ed7b0ac 100644
--- a/bin/chio/pathnames.h
+++ b/bin/chio/pathnames.h
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/*-
* Copyright (c) 1996 Jason R. Thorpe <thorpej@and.com>