summaryrefslogtreecommitdiffstats
path: root/sys/dev/audio.c
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-01-02 05:21:20 +0000
committerbrad <brad@openbsd.org>2006-01-02 05:21:20 +0000
commitcf64c917f2b15b11f1ab5ed36dbe3d2a5678d72b (patch)
treeeed0c3a027ad83d46eb63a91972d4c7550a7b01d /sys/dev/audio.c
parentregen (diff)
downloadwireguard-openbsd-cf64c917f2b15b11f1ab5ed36dbe3d2a5678d72b.tar.xz
wireguard-openbsd-cf64c917f2b15b11f1ab5ed36dbe3d2a5678d72b.zip
remove last traces of __BROKEN_INDIRECT_CONFIG.
Thanks to aanriot@ and Michael Knudsen for checking that alpha/i386/macppc kernels still compile.
Diffstat (limited to 'sys/dev/audio.c')
-rw-r--r--sys/dev/audio.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c
index cafb8d75310..4854c58c150 100644
--- a/sys/dev/audio.c
+++ b/sys/dev/audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio.c,v 1.47 2005/11/21 18:16:38 millert Exp $ */
+/* $OpenBSD: audio.c,v 1.48 2006/01/02 05:21:37 brad Exp $ */
/* $NetBSD: audio.c,v 1.119 1999/11/09 16:50:47 augustss Exp $ */
/*
@@ -145,12 +145,7 @@ void audio_free_ring(struct audio_softc *, struct audio_ringbuffer *);
int audioprint(void *, const char *);
-#define __BROKEN_INDIRECT_CONFIG /* XXX */
-#ifdef __BROKEN_INDIRECT_CONFIG
int audioprobe(struct device *, void *, void *);
-#else
-int audioprobe(struct device *, struct cfdata *, void *);
-#endif
void audioattach(struct device *, struct device *, void *);
int audiodetach(struct device *, int);
int audioactivate(struct device *, enum devact);
@@ -216,11 +211,7 @@ struct filterops audioread_filtops =
int
audioprobe(parent, match, aux)
struct device *parent;
-#ifdef __BROKEN_INDIRECT_CONFIG
void *match;
-#else
- struct cfdata *match;
-#endif
void *aux;
{
struct audio_attach_args *sa = aux;