summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2020-08-26 03:29:08 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2020-08-26 03:29:08 +0000
commit8decadd71156cd36e4dd443c4b2ed7ec3c0160dd (patch)
treee16b567f9b098daf0eaf043bea9bf9515524692f /sys/arch/macppc
parent91ad7c9d87940ba5b40c716dcf258718ff757f54 (diff)
Declare hw_{prod,serial,uuid,vendor,ver} in <sys/systm.h>.
OK deraadt@, mpi@
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/dev/aoa.c4
-rw-r--r--sys/arch/macppc/dev/snapper.c4
-rw-r--r--sys/arch/macppc/macppc/clock.c3
-rw-r--r--sys/arch/macppc/macppc/mainbus.c5
4 files changed, 4 insertions, 12 deletions
diff --git a/sys/arch/macppc/dev/aoa.c b/sys/arch/macppc/dev/aoa.c
index 85b015a58b5..a2ca8e10a95 100644
--- a/sys/arch/macppc/dev/aoa.c
+++ b/sys/arch/macppc/dev/aoa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aoa.c,v 1.10 2020/06/06 21:01:30 gkoehler Exp $ */
+/* $OpenBSD: aoa.c,v 1.11 2020/08/26 03:29:06 visa Exp $ */
/*-
* Copyright (c) 2005 Tsubai Masanari. All rights reserved.
@@ -57,8 +57,6 @@ void aoa_attach(struct device *, struct device *, void *);
void aoa_defer(struct device *);
void aoa_set_volume(struct aoa_softc *, int, int);
-extern char *hw_prod;
-
struct cfattach aoa_ca = {
sizeof(struct aoa_softc), aoa_match, aoa_attach
};
diff --git a/sys/arch/macppc/dev/snapper.c b/sys/arch/macppc/dev/snapper.c
index a4ebd7f54f3..3fbf58aec0f 100644
--- a/sys/arch/macppc/dev/snapper.c
+++ b/sys/arch/macppc/dev/snapper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snapper.c,v 1.38 2020/06/06 21:01:30 gkoehler Exp $ */
+/* $OpenBSD: snapper.c,v 1.39 2020/08/26 03:29:06 visa Exp $ */
/* $NetBSD: snapper.c,v 1.1 2003/12/27 02:19:34 grant Exp $ */
/*-
@@ -70,8 +70,6 @@ void snapper_set_input(struct snapper_softc *, int);
int tas3004_write(struct snapper_softc *, u_int, const void *);
int tas3004_init(struct snapper_softc *);
-extern char *hw_prod;
-
struct cfattach snapper_ca = {
sizeof(struct snapper_softc), snapper_match, snapper_attach
};
diff --git a/sys/arch/macppc/macppc/clock.c b/sys/arch/macppc/macppc/clock.c
index c582edac1b9..7ff7ba2635b 100644
--- a/sys/arch/macppc/macppc/clock.c
+++ b/sys/arch/macppc/macppc/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.46 2020/07/17 20:15:43 gkoehler Exp $ */
+/* $OpenBSD: clock.c,v 1.47 2020/08/26 03:29:06 visa Exp $ */
/* $NetBSD: clock.c,v 1.1 1996/09/30 16:34:40 ws Exp $ */
/*
@@ -64,7 +64,6 @@ static struct timecounter tb_timecounter = {
static const char *calibrate_tc_models[] = {
"PowerMac10,1"
};
-extern char *hw_prod;
time_read_t *time_read;
time_write_t *time_write;
diff --git a/sys/arch/macppc/macppc/mainbus.c b/sys/arch/macppc/macppc/mainbus.c
index 13c6bdc5dca..bbd69252403 100644
--- a/sys/arch/macppc/macppc/mainbus.c
+++ b/sys/arch/macppc/macppc/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.25 2015/09/06 16:46:53 deraadt Exp $ */
+/* $OpenBSD: mainbus.c,v 1.26 2020/08/26 03:29:06 visa Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -47,9 +47,6 @@ struct cfdriver mainbus_cd = {
NULL, "mainbus", DV_DULL
};
-/* hw.product sysctl see sys/kern/kern_sysctl.c */
-extern char *hw_prod, *hw_ver, *hw_vendor;
-
#define HH_REG_CONF 0x90
/*ARGSUSED*/