diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-08-19 10:22:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-08-19 10:22:31 +0000 |
commit | b6dd52f017353fcd30397d0a870f1b7012fdfd27 (patch) | |
tree | 936a372e55700067ccf110bd6ec8abefce273bfc /sys/arch/mvme68k/stand/sboot/clock.c | |
parent | bb465830bfb91ab4a301c5f05c14694281127e4a (diff) |
simple protos and ansi
Diffstat (limited to 'sys/arch/mvme68k/stand/sboot/clock.c')
-rw-r--r-- | sys/arch/mvme68k/stand/sboot/clock.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/mvme68k/stand/sboot/clock.c b/sys/arch/mvme68k/stand/sboot/clock.c index 9e9b71602d3..779c80843a1 100644 --- a/sys/arch/mvme68k/stand/sboot/clock.c +++ b/sys/arch/mvme68k/stand/sboot/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.6 2003/06/02 23:27:51 millert Exp $ */ +/* $OpenBSD: clock.c,v 1.7 2003/08/19 10:22:30 deraadt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -70,9 +70,8 @@ static struct clockreg *clockreg = (struct clockreg *) CLOCK_ADDR; const short dayyr[12] = {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; -static u_long -chiptotime(sec, min, hour, day, mon, year) - register int sec, min, hour, day, mon, year; +static u_long +chiptotime(int sec, int min, int hour, int day, int mon, int year) { register int days, yr; @@ -101,8 +100,8 @@ chiptotime(sec, min, hour, day, mon, year) /* * Set up the system's time, given a `reasonable' time value. */ -u_long -ttime() +u_long +ttime(void) { register struct clockreg *cl = clockreg; int sec, min, hour, day, mon, year; |