From 740a1973a62eaa8e1dc23e22f84dacb3346d303a Mon Sep 17 00:00:00 2001 From: Jake Burkholder 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/kern/kern_exit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/kern_exit.c') diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 9115f9775a36..3a4c1a4472ef 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -82,10 +82,10 @@ static int wait1 __P((struct proc *, struct wait_args *, int)); */ struct exitlist { exitlist_fn function; - TAILQ_ENTRY(exitlist) next; + TAILQ_ENTRY(struct exitlist) next; }; -TAILQ_HEAD(exit_list_head, exitlist); +TAILQ_HEAD(exit_list_head, struct exitlist); static struct exit_list_head exit_list = TAILQ_HEAD_INITIALIZER(exit_list); /* -- cgit v1.2.3