$OpenBSD: patch-calencheck_c,v 1.1 2003/06/18 02:48:00 avsm Exp $ --- calencheck.c.orig Wed Sep 30 03:38:28 1998 +++ calencheck.c Wed Jun 18 03:41:50 2003 @@ -53,7 +53,7 @@ struct dayslot *slots; int show_future = 1; int one_based = 0, version2 = 0; -void +int main(argc,argv) int argc; char *argv[]; @@ -129,6 +129,7 @@ char *argv[]; sleep(TIME_OUT*60); check_calendar(); } + return 0; } /* some stubs required by routines in common.c not used by calencheck */