aboutsummaryrefslogtreecommitdiff
path: root/sbin/adjkerntz/adjkerntz.c
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-07-15 05:41:57 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-07-15 05:41:57 +0000
commit086ad217b2fc764e9552c554351481cc5941ecbf (patch)
treed68f31f059f3e7d70e27e15172886fe4c46b0534 /sbin/adjkerntz/adjkerntz.c
parent442e0eaf20d2f43a986c0593f36c708706c84cc8 (diff)
downloadsrc-086ad217b2fc764e9552c554351481cc5941ecbf.tar.gz
src-086ad217b2fc764e9552c554351481cc5941ecbf.zip
Fix a prototype and set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com>
Notes
Notes: svn path=/head/; revision=79747
Diffstat (limited to 'sbin/adjkerntz/adjkerntz.c')
-rw-r--r--sbin/adjkerntz/adjkerntz.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/adjkerntz/adjkerntz.c b/sbin/adjkerntz/adjkerntz.c
index 743782a66f5d..63d4fa31862a 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;