From f1cb96b2ca44e4aa70b57abc58ffc615af6b0583 Mon Sep 17 00:00:00 2001 From: glass Date: Mon, 31 Jan 1994 02:38:08 +0000 Subject: upgrade to version 8.6.5 --- usr.sbin/sendmail/src/clock.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'usr.sbin/sendmail/src/clock.c') diff --git a/usr.sbin/sendmail/src/clock.c b/usr.sbin/sendmail/src/clock.c index 8c78bc182c5..45ef1c2782c 100644 --- a/usr.sbin/sendmail/src/clock.c +++ b/usr.sbin/sendmail/src/clock.c @@ -33,7 +33,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)clock.c 8.7 (Berkeley) 10/21/93"; +static char sccsid[] = "@(#)clock.c 8.8 (Berkeley) 1/12/94"; #endif /* not lint */ # include "sendmail.h" @@ -60,7 +60,7 @@ static char sccsid[] = "@(#)clock.c 8.7 (Berkeley) 10/21/93"; ** none. */ -static void tick(); +static void tick __P((int)); EVENT * setevent(intvl, func, arg) @@ -101,7 +101,7 @@ setevent(intvl, func, arg) printf("setevent: intvl=%ld, for=%ld, func=%x, arg=%d, ev=%x\n", intvl, now + intvl, func, arg, ev); - tick(); + tick(0); return (ev); } /* @@ -143,7 +143,7 @@ clrevent(ev) } /* restore clocks and pick up anything spare */ - tick(); + tick(0); } /* ** TICK -- take a clock tick @@ -151,7 +151,7 @@ clrevent(ev) ** Called by the alarm clock. This routine runs events as needed. ** ** Parameters: -** none. +** One that is ignored; for compatibility with signal handlers. ** ** Returns: ** none. @@ -161,7 +161,8 @@ clrevent(ev) */ static void -tick() +tick(arg) + int arg; { register time_t now; register EVENT *ev; -- cgit