diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2020-08-26 03:29:08 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2020-08-26 03:29:08 +0000 |
commit | 8decadd71156cd36e4dd443c4b2ed7ec3c0160dd (patch) | |
tree | e16b567f9b098daf0eaf043bea9bf9515524692f /sys/dev/isa | |
parent | 91ad7c9d87940ba5b40c716dcf258718ff757f54 (diff) |
Declare hw_{prod,serial,uuid,vendor,ver} in <sys/systm.h>.
OK deraadt@, mpi@
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/asmc.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/skgpio.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/isa/asmc.c b/sys/dev/isa/asmc.c index b3c06373417..69ebffca300 100644 --- a/sys/dev/isa/asmc.c +++ b/sys/dev/isa/asmc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asmc.c,v 1.32 2017/08/22 11:00:39 jsg Exp $ */ +/* $OpenBSD: asmc.c,v 1.33 2020/08/26 03:29:06 visa Exp $ */ /* * Copyright (c) 2015 Joerg Jung <jung@openbsd.org> * @@ -226,8 +226,6 @@ static const char *asmc_light_desc[ASMC_MAXLIGHT] = { "left", "right" }; -extern char *hw_vendor, *hw_prod; - int asmc_match(struct device *parent, void *match, void *aux) { diff --git a/sys/dev/isa/skgpio.c b/sys/dev/isa/skgpio.c index 10162ff0ed7..48d8d19d85a 100644 --- a/sys/dev/isa/skgpio.c +++ b/sys/dev/isa/skgpio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: skgpio.c,v 1.3 2015/03/14 03:38:47 jsg Exp $ */ +/* $OpenBSD: skgpio.c,v 1.4 2020/08/26 03:29:06 visa Exp $ */ /* * Copyright (c) 2014 Matt Dainty <matt@bodgit-n-scarper.com> @@ -45,8 +45,6 @@ #define SKGPIO_LED_ERROR 0x01c /* Offset to error LED */ #define SKGPIO_LED_READY 0x01d /* Offset to ready LED */ -extern char *hw_vendor, *hw_prod; - const u_int skgpio_led_offset[SKGPIO_NLEDS] = { SKGPIO_LED_ERROR, SKGPIO_LED_READY }; |