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/sclock.c | |
parent | a313e244b1d4ef436b53f164be90abf5f0e7104f (diff) |
Add prototypes, fix compilation warnings, random style fixes.
Diffstat (limited to 'sys/arch/mvme88k/dev/sclock.c')
-rw-r--r-- | sys/arch/mvme88k/dev/sclock.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/dev/sclock.c b/sys/arch/mvme88k/dev/sclock.c index 30feb7d3e0d..1611102b33a 100644 --- a/sys/arch/mvme88k/dev/sclock.c +++ b/sys/arch/mvme88k/dev/sclock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sclock.c,v 1.5 2001/03/09 05:44:39 smurph Exp $ */ +/* $OpenBSD: sclock.c,v 1.6 2001/08/26 02:37:07 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * @@ -117,12 +117,13 @@ struct simplelock cio_lock; int statvar = 8192; int statmin; /* statclock interval - 1/2*variance */ -static int sclockmatch __P((struct device *, void *, void *)); -static void sclockattach __P((struct device *, struct device *, void *)); +int sclockmatch __P((struct device *, void *, void *)); +void sclockattach __P((struct device *, struct device *, void *)); void sbc_initstatclock __P((void)); void m188_initstatclock __P((void)); void m188_cio_init __P((unsigned)); +u_char read_cio __P((unsigned)); void write_cio __P((unsigned, unsigned)); struct sclocksoftc { @@ -369,7 +370,7 @@ write_cio(reg, val) } /* Read CIO register */ -static u_char +u_char read_cio(reg) unsigned reg; { |