diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-18 21:15:16 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-18 21:15:16 +0000 |
commit | d76fbed9b047b0950393d391f27749a20f6ec68a (patch) | |
tree | 02818a590fe865434e018b19d1bb8ca0c5b4c1f4 /sys/arch/vax | |
parent | be90184410fe8aaf59012f30ea8aabcf3e8e800b (diff) |
Don't
#include "foo.h"
#if NFOO > 0
(whole file)
#endif
since config(8) file inclusion rules already do it for you.
ok deraadt@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/uba/qv.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/vax/uba/qv.c b/sys/arch/vax/uba/qv.c index ff4654e361b..2623391d822 100644 --- a/sys/arch/vax/uba/qv.c +++ b/sys/arch/vax/uba/qv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qv.c,v 1.15 2010/06/26 23:24:44 guenther Exp $ */ +/* $OpenBSD: qv.c,v 1.16 2010/11/18 21:15:14 miod Exp $ */ /* $NetBSD: qv.c,v 1.2 1996/09/02 06:44:28 mycroft Exp $ */ /*- @@ -124,9 +124,6 @@ */ -#include "qv.h" -#if NQV > 0 - #include <machine/pte.h> #include <sys/param.h> @@ -152,7 +149,6 @@ struct uba_device *qvinfo[NQV]; struct tty qv_tty[NQV*4]; -#define nNQV NQV int nqv = NQV*4; /* @@ -1312,4 +1308,3 @@ int probed; qvaddr->qv_csr |= QV_VIDEO_ENA ; return 1; } -#endif |