summaryrefslogtreecommitdiffstats
path: root/usr.bin/calendar/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/calendar/calendar.c')
-rw-r--r--usr.bin/calendar/calendar.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/calendar/calendar.c b/usr.bin/calendar/calendar.c
index aae5f2a..5a0eefc 100644
--- a/usr.bin/calendar/calendar.c
+++ b/usr.bin/calendar/calendar.c
@@ -67,9 +67,7 @@ int f_dayBefore = 0; /* days before current date */
int Friday = 5; /* day before weekend */
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
int ch;
@@ -143,7 +141,7 @@ main(argc, argv)
void
-usage()
+usage(void)
{
(void)fprintf(stderr, "%s\n%s\n",
"usage: calendar [-a] [-A days] [-B days] [-F friday] "
OpenPOWER on IntegriCloud