diff options
author | bde <bde@FreeBSD.org> | 1998-12-06 17:58:21 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-12-06 17:58:21 +0000 |
commit | 0d0f3202f5adf6c426211e921d049ad75d2dce0d (patch) | |
tree | 61fbfd1fda4f26052b98c4615ec2c15a7ea68337 | |
parent | 36f2dfd2e3093dcaca164a378c6bb7c74074f456 (diff) | |
download | FreeBSD-src-0d0f3202f5adf6c426211e921d049ad75d2dce0d.zip FreeBSD-src-0d0f3202f5adf6c426211e921d049ad75d2dce0d.tar.gz |
Ifdefed a conditionally used include.
Don't depend on "implicit int".
Don't bloat the data section with labpc_devsw_installed.
-rw-r--r-- | sys/i386/isa/labpc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/isa/labpc.c b/sys/i386/isa/labpc.c index aa2adce..30beb2d 100644 --- a/sys/i386/isa/labpc.c +++ b/sys/i386/isa/labpc.c @@ -57,7 +57,9 @@ #include <sys/devfsext.h> #endif /*DEVFS*/ +#ifdef LOUTB #include <machine/clock.h> +#endif #include <i386/isa/isa_device.h> @@ -406,7 +408,7 @@ labpcinit(void) static int labpcprobe(struct isa_device *dev) { - static unit; + static int unit; struct ctlr scratch, *ctlr; u_char status; @@ -1096,7 +1098,7 @@ labpcioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc *p) } -static labpc_devsw_installed = 0; +static int labpc_devsw_installed = 0; static void labpc_drvinit(void *unused) { |