summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-28 20:57:10 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-28 20:57:10 +0000
commitaec73a28e08e986a07be3cd6d9d689fb197d94a2 (patch)
tree92131567bb488c3a036c632c3598d0ef47d78a23 /sys/arch
parent749c27f082c7b189ed2e4830af92453e9c521d86 (diff)
Do not declare a struct cfdriver and initialize it, and then write `extern
struct cfdriver' the bloody same struct.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/cpu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/alpha/alpha/cpu.c b/sys/arch/alpha/alpha/cpu.c
index 0ba05952be5..f73b9a13a79 100644
--- a/sys/arch/alpha/alpha/cpu.c
+++ b/sys/arch/alpha/alpha/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.27 2010/03/31 19:46:25 miod Exp $ */
+/* $OpenBSD: cpu.c,v 1.28 2010/11/28 20:57:09 miod Exp $ */
/* $NetBSD: cpu.c,v 1.44 2000/05/23 05:12:53 thorpej Exp $ */
/*-
@@ -113,8 +113,6 @@ struct cfdriver cpu_cd = {
NULL, "cpu", DV_DULL
};
-extern struct cfdriver cpu_cd;
-
static const char *ev4minor[] = {
"pass 2 or 2.1", "pass 3", 0
}, *lcaminor[] = {