Remove (at least temporarily) the check that prevents us from including

this file from userland.  Since we export struct ifnet to userland, and
that struct ifnet now contains a struct task, userland needs to know
what struct task looks like.

We need to consider having a pointer to a struct task here instead and
forward declare struct task in the !_KERNEL case.
This commit is contained in:
mux 2004-07-28 09:12:54 +00:00
parent f630ab6cf1
commit 1ac57efd01

View File

@ -29,10 +29,6 @@
#ifndef _SYS__TASK_H_
#define _SYS__TASK_H_
#ifndef _KERNEL
#error "no user-servicable parts inside"
#endif
#include <sys/queue.h>
/*