summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-07-08 12:42:58 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-07-08 12:42:58 +0000
commit453d6c5e6086ba8133b626629f836ddb273c9620 (patch)
tree2a5382ec48e766cf26fa6f70c0bc63c64d7a068d /sys
parentf08d380d55a7938afb7492a7a8bd7501a51fb5a5 (diff)
Declare mainbus_model as extern here so that code outside of autoconf.c can
look at it (forgotten as part of the auxio commit)
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/include/autoconf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/autoconf.h b/sys/arch/sparc/include/autoconf.h
index 32a341192d2..a7aefd81e28 100644
--- a/sys/arch/sparc/include/autoconf.h
+++ b/sys/arch/sparc/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.14 2005/03/23 17:10:24 miod Exp $ */
+/* $OpenBSD: autoconf.h,v 1.15 2005/07/08 12:42:57 miod Exp $ */
/* $NetBSD: autoconf.h,v 1.20 1997/05/24 20:03:03 pk Exp $ */
/*
@@ -147,6 +147,8 @@ int getpropint(int node, char *name, int deflt);
/* Frequently used options node */
extern int optionsnode;
+/* Machine type */
+extern char mainbus_model[30];
/*
* The romprop function gets physical and virtual addresses from the PROM