diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-12 19:35:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-12 19:35:48 +0000 |
commit | b14274b287652ae7ea34cc9642cfc35b097016f4 (patch) | |
tree | 94979a8e018c2ac182e09423982d0f1992f78437 /usr.bin/calendar | |
parent | e9f192a0324b209978d6cf43d395a003e96969fa (diff) |
deal with lack of prototype
Diffstat (limited to 'usr.bin/calendar')
-rw-r--r-- | usr.bin/calendar/day.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/calendar/day.c b/usr.bin/calendar/day.c index 61cf2398cc0..1bbddb7590f 100644 --- a/usr.bin/calendar/day.c +++ b/usr.bin/calendar/day.c @@ -1,4 +1,4 @@ -/* $OpenBSD: day.c,v 1.25 2013/04/16 18:28:24 deraadt Exp $ */ +/* $OpenBSD: day.c,v 1.26 2013/11/12 19:35:47 deraadt Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -78,7 +78,6 @@ static struct fixs ndays[8]; /* short national days names */ static struct fixs fnmonths[13]; /* full national months names */ static struct fixs nmonths[13]; /* short national month names */ - void setnnames(void) { @@ -232,7 +231,7 @@ Mktime(char *date) return(mktime(&tm)); } -void +static void adjust_calendar(int *day, int *month) { switch (calendar) { |