diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-26 02:37:08 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-26 02:37:08 +0000 |
commit | 40fa393c45fd6ea6f962a70da026768f6ad9ffa1 (patch) | |
tree | 69f7cd34483c7a70b31288f975bde4cbc95e5340 /sys/arch/mvme88k/dev/nvram.c | |
parent | a313e244b1d4ef436b53f164be90abf5f0e7104f (diff) |
Add prototypes, fix compilation warnings, random style fixes.
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; { |