summaryrefslogtreecommitdiffstats
path: root/misc-utils/cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils/cal.c')
-rw-r--r--misc-utils/cal.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/misc-utils/cal.c b/misc-utils/cal.c
index fe35e1851..bc0c1eff5 100644
--- a/misc-utils/cal.c
+++ b/misc-utils/cal.c
@@ -63,7 +63,7 @@
#define THURSDAY 4 /* for reformation */
#define SATURDAY 6 /* 1 Jan 1 was a Saturday */
-#define FIRST_MISSING_DAY 639787 /* 3 Sep 1752 */
+#define FIRST_MISSING_DAY 639799 /* 3 Sep 1752 */
#define NUMBER_MISSING_DAYS 11 /* 11 day correction */
#define MAXDAYS 43 /* max slots in a month array */
@@ -141,10 +141,7 @@ void headers_init(void);
extern char *__progname;
int
-main(argc, argv)
- int argc;
- char **argv;
-{
+main(int argc, char **argv) {
struct tm *local_time;
time_t now;
int ch, month, year, yflag;