From d93fbc99166053b75c2eeb69b5cb603cfaf79ec0 Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 23 May 2000 20:41:01 +0000 Subject: Change the way that the queue(3) structures are declared; don't assume that the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd --- sys/dev/sound/pci/emu10k1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/sound/pci/emu10k1.c') diff --git a/sys/dev/sound/pci/emu10k1.c b/sys/dev/sound/pci/emu10k1.c index e8dcc6e..dd6ed9b 100644 --- a/sys/dev/sound/pci/emu10k1.c +++ b/sys/dev/sound/pci/emu10k1.c @@ -44,7 +44,7 @@ #undef EMUDEBUG struct emu_memblk { - SLIST_ENTRY(emu_memblk) link; + SLIST_ENTRY(struct emu_memblk) link; void *buf; u_int32_t pte_start, pte_size; }; @@ -53,7 +53,7 @@ struct emu_mem { u_int8_t bmap[MAXPAGES / 8]; u_int32_t *ptb_pages; void *silent_page; - SLIST_HEAD(, emu_memblk) blocks; + SLIST_HEAD(, struct emu_memblk) blocks; }; struct emu_voice { -- cgit v1.1