diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2008-11-21 16:06:37 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2008-11-21 16:06:37 +0000 |
commit | 1b5b2b50332d7f6ea9c6d2c79227e72032ea0585 (patch) | |
tree | 8e69658b49fda26f9710cb1c6f61a6b23d1f3b3e | |
parent | 09036cb73d464ba02e860802f22dd47a31591237 (diff) |
Remove the following extern declarations because they are only
used in gus.c and this change also makes gcc4 happy
extern const int gus_max_frequency[];
extern const ushort gus_log_volumes[];
extern struct audio_hw_if gusmax_hw_if;
ok deraadt@
-rw-r--r-- | sys/dev/isa/gusvar.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/isa/gusvar.h b/sys/dev/isa/gusvar.h index 61b8f9ad8c2..3dc11ebd0f3 100644 --- a/sys/dev/isa/gusvar.h +++ b/sys/dev/isa/gusvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gusvar.h,v 1.6 2008/06/26 05:42:16 ray Exp $ */ +/* $OpenBSD: gusvar.h,v 1.7 2008/11/21 16:06:36 robert Exp $ */ /* $NetBSD: gus.c,v 1.51 1998/01/25 23:48:06 mycroft Exp $ */ /*- @@ -385,9 +385,6 @@ extern const int gus_irq_map[]; extern const int gus_drq_map[]; extern const int gus_base_addrs[]; extern const int gus_addrs; -extern const int gus_max_frequency[]; - -extern const ushort gus_log_volumes[]; #define SELECT_GUS_REG(iot,ioh1,x) bus_space_write_1(iot,ioh1,GUS_REG_SELECT,x) #define ADDR_HIGH(x) (unsigned int) ((x >> 7L) & 0x1fffL) @@ -409,7 +406,6 @@ extern const ushort gus_log_volumes[]; #define splgus splaudio extern struct audio_hw_if gus_hw_if; -extern struct audio_hw_if gusmax_hw_if; extern struct audio_device gus_device; #define FLIP_REV 5 /* This rev has flipped mixer chans */ |