diff options
author | 2013-08-15 13:00:48 +0000 | |
---|---|---|
committer | 2013-08-15 13:00:48 +0000 | |
commit | 7d42c27d04bc86f796f8b2faea1c51ae498e7334 (patch) | |
tree | 8c47aa2b4ea2b0163f9dc301b2c6859ac769954e | |
parent | Stop defining SIOC{S,G}ETVLAN as SIOC{S,G}IFGENERIC because they (diff) | |
download | wireguard-openbsd-7d42c27d04bc86f796f8b2faea1c51ae498e7334.tar.xz wireguard-openbsd-7d42c27d04bc86f796f8b2faea1c51ae498e7334.zip |
fix getsecs() prototypes, vax still boots with 64-bit time_t; ok miod@
-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); |