diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2013-08-15 13:00:49 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2013-08-15 13:00:49 +0000 |
commit | d3510b5e988a7c3749d07e56ba89edca1bd47bf0 (patch) | |
tree | ef15e932027ff9ae91261a83c6d76b9f7ed014cd /sys/arch/vax | |
parent | 0508b67c71c3b7e397e7618ed4cff4707126ab32 (diff) |
fix getsecs() prototypes, vax still boots with 64-bit time_t; ok miod@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/stand/boot/autoconf.c | 6 | ||||
-rw-r--r-- | sys/arch/vax/stand/boot/boot.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/vax/stand/boot/autoconf.c b/sys/arch/vax/stand/boot/autoconf.c index a77cd66ecdf..11f46c07a2a 100644 --- a/sys/arch/vax/stand/boot/autoconf.c +++ b/sys/arch/vax/stand/boot/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.15 2013/07/13 16:33:22 miod Exp $ */ +/* $OpenBSD: autoconf.c,v 1.16 2013/08/15 13:00:48 otto Exp $ */ /* $NetBSD: autoconf.c,v 1.19 2002/06/01 15:33:22 ragge Exp $ */ /* * Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden. @@ -52,7 +52,7 @@ void findcpu(void); void consinit(void); void scbinit(void); void clkstart(void); -int getsecs(void); +time_t getsecs(void); void scb_stray(void *); void scb_silent(void *); void longjmp(int *); @@ -131,7 +131,7 @@ autoconf(void) volatile int tickcnt; -int +time_t getsecs(void) { return tickcnt/100; diff --git a/sys/arch/vax/stand/boot/boot.c b/sys/arch/vax/stand/boot/boot.c index ee5f908be3c..0607d7fc158 100644 --- a/sys/arch/vax/stand/boot/boot.c +++ b/sys/arch/vax/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.22 2013/07/05 21:13:06 miod Exp $ */ +/* $OpenBSD: boot.c,v 1.23 2013/08/15 13:00:48 otto Exp $ */ /* $NetBSD: boot.c,v 1.18 2002/05/31 15:58:26 ragge Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. @@ -56,7 +56,7 @@ extern unsigned opendev; void usage(char *), boot(char *), halt(char *); void Xmain(void); void autoconf(void); -int getsecs(void); +time_t getsecs(void); int setjmp(int *); int testkey(void); |