summaryrefslogtreecommitdiffstats
path: root/sbin/adjkerntz
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-15 05:41:57 +0000
committerdd <dd@FreeBSD.org>2001-07-15 05:41:57 +0000
commit9d59f764e6d07a6a39a442aed9e46bd5483de81b (patch)
treed68f31f059f3e7d70e27e15172886fe4c46b0534 /sbin/adjkerntz
parent2d01bec833fc3fe7fe00d29a2126d24260cb5432 (diff)
downloadFreeBSD-src-9d59f764e6d07a6a39a442aed9e46bd5483de81b.zip
FreeBSD-src-9d59f764e6d07a6a39a442aed9e46bd5483de81b.tar.gz
Fix a prototype and set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com>
Diffstat (limited to 'sbin/adjkerntz')
-rw-r--r--sbin/adjkerntz/Makefile2
-rw-r--r--sbin/adjkerntz/adjkerntz.c9
2 files changed, 9 insertions, 2 deletions
diff --git a/sbin/adjkerntz/Makefile b/sbin/adjkerntz/Makefile
index cf40461..d254dcc 100644
--- a/sbin/adjkerntz/Makefile
+++ b/sbin/adjkerntz/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PROG= adjkerntz
+WARNS?= 2
MAN= adjkerntz.8
-CFLAGS+= -Wall
.include <bsd.prog.mk>
diff --git a/sbin/adjkerntz/adjkerntz.c b/sbin/adjkerntz/adjkerntz.c
index 743782a..63d4fa3 100644
--- a/sbin/adjkerntz/adjkerntz.c
+++ b/sbin/adjkerntz/adjkerntz.c
@@ -65,9 +65,16 @@ static const char rcsid[] =
#define REPORT_PERIOD (30*60)
+static void fake __P((int));
static void usage __P((void));
-void fake() {}
+static void
+fake(unused)
+ int unused __unused;
+{
+
+ /* Do nothing. */
+}
int main(argc, argv)
int argc;
OpenPOWER on IntegriCloud