aboutsummaryrefslogtreecommitdiff
path: root/sbin/adjkerntz/adjkerntz.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-18 04:55:09 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-18 04:55:09 +0000
commitbbbc97356c190e2d696383bbebf87f74d79e1cee (patch)
tree9d730c91c40ce65d179d165c51f0318646dd1a01 /sbin/adjkerntz/adjkerntz.c
parent2292c02e9511b88a73b6181e8a2ca347cd68b706 (diff)
downloadsrc-bbbc97356c190e2d696383bbebf87f74d79e1cee.tar.gz
src-bbbc97356c190e2d696383bbebf87f74d79e1cee.zip
o Use real prototypes
o Remove __P. o main(int, char *[])
Notes
Notes: svn path=/head/; revision=92536
Diffstat (limited to 'sbin/adjkerntz/adjkerntz.c')
-rw-r--r--sbin/adjkerntz/adjkerntz.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/sbin/adjkerntz/adjkerntz.c b/sbin/adjkerntz/adjkerntz.c
index 63d4fa31862a..c6e72b64cb3e 100644
--- a/sbin/adjkerntz/adjkerntz.c
+++ b/sbin/adjkerntz/adjkerntz.c
@@ -65,20 +65,18 @@ static const char rcsid[] =
#define REPORT_PERIOD (30*60)
-static void fake __P((int));
-static void usage __P((void));
+static void fake(int);
+static void usage(void);
static void
-fake(unused)
- int unused __unused;
+fake(int unused __unused)
{
/* Do nothing. */
}
-int main(argc, argv)
- int argc;
- char **argv;
+int
+main(int argc, char *argv[])
{
struct tm local;
struct timeval tv, *stv;
@@ -376,7 +374,7 @@ recalculate:
}
static void
-usage()
+usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n%s\n",
"usage: adjkerntz -i",