openbsd-ports/misc/calentool/patches/patch-03
1998-09-30 16:27:52 +00:00

20 lines
378 B
Plaintext

--- calencheck.c.orig Wed Sep 30 11:45:30 1998
+++ calencheck.c Wed Sep 30 11:46:30 1998
@@ -53,7 +53,7 @@
int show_future = 1;
int one_based = 0, version2 = 0;
-void
+int
main(argc,argv)
int argc;
char *argv[];
@@ -129,6 +129,7 @@
sleep(TIME_OUT*60);
check_calendar();
}
+ return 0;
}
/* some stubs required by routines in common.c not used by calencheck */