diff options
Diffstat (limited to 'sys/arch/mvme88k/dev/nvram.c')
-rw-r--r-- | sys/arch/mvme88k/dev/nvram.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/nvram.c b/sys/arch/mvme88k/dev/nvram.c index c43013944c3..a2a54b3eac0 100644 --- a/sys/arch/mvme88k/dev/nvram.c +++ b/sys/arch/mvme88k/dev/nvram.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nvram.c,v 1.10 2001/06/14 21:30:34 miod Exp $ */ +/* $OpenBSD: nvram.c,v 1.11 2001/08/26 02:37:07 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -84,6 +84,8 @@ int nvramread __P((dev_t dev, struct uio *uio, int flags)); int nvramwrite __P((dev_t dev, struct uio *uio, int flags)); int nvrammmap __P((dev_t dev, int off, int prot)); +u_long chiptotime __P((int, int, int, int, int, int)); + int nvrammatch(parent, vcf, args) struct device *parent; @@ -199,7 +201,7 @@ microtime(tvp) const short dayyr[12] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; -static u_long +u_long chiptotime(sec, min, hour, day, mon, year) register int sec, min, hour, day, mon, year; { |