diff options
| author | glass <glass@NetBSD.org> | 1994-01-31 02:38:08 +0000 |
|---|---|---|
| committer | glass <glass@NetBSD.org> | 1994-01-31 02:38:08 +0000 |
| commit | f1cb96b2ca44e4aa70b57abc58ffc615af6b0583 (patch) | |
| tree | a6ebcdd285462a08f65dcae64a1b57567dd129ea /usr.sbin/sendmail/src/clock.c | |
| parent | f12eaca826e8750987e7055165cd38313cb63b46 (diff) | |
upgrade to version 8.6.5
Diffstat (limited to 'usr.sbin/sendmail/src/clock.c')
| -rw-r--r-- | usr.sbin/sendmail/src/clock.c | 13 |
1 files changed, 7 insertions, 6 deletions
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; |
