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:
parent
f630ab6cf1
commit
1ac57efd01
@ -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>
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user