diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
commit | 740a1973a62eaa8e1dc23e22f84dacb3346d303a (patch) | |
tree | acf054a865eef37380f5ac3d3c07766b5bb234b0 /sys/dev/eisa/eisaconf.c | |
parent | b4183771fd8ab7a5946fd38df04c1e24b1268bea (diff) |
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
Notes
Notes:
svn path=/head/; revision=60833
Diffstat (limited to 'sys/dev/eisa/eisaconf.c')
-rw-r--r-- | sys/dev/eisa/eisaconf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c index 1e9dcda367ba..d37f00e72b90 100644 --- a/sys/dev/eisa/eisaconf.c +++ b/sys/dev/eisa/eisaconf.c @@ -53,19 +53,19 @@ typedef struct resvaddr { u_long size; /* size of reserved area */ int flags; struct resource *res; /* resource manager handle */ - LIST_ENTRY(resvaddr) links; /* List links */ + LIST_ENTRY(struct resvaddr) links; /* List links */ } resvaddr_t; -LIST_HEAD(resvlist, resvaddr); +LIST_HEAD(resvlist, struct resvaddr); struct irq_node { int irq_no; int irq_trigger; void *idesc; - TAILQ_ENTRY(irq_node) links; + TAILQ_ENTRY(struct irq_node) links; }; -TAILQ_HEAD(irqlist, irq_node); +TAILQ_HEAD(irqlist, struct irq_node); struct eisa_ioconf { int slot; |