summaryrefslogtreecommitdiff
path: root/usr.sbin/sendmail/src/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sendmail/src/clock.c')
-rw-r--r--usr.sbin/sendmail/src/clock.c13
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;