aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_task.h
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2004-07-28 09:12:54 +0000
committerMaxime Henrion <mux@FreeBSD.org>2004-07-28 09:12:54 +0000
commitf082437d5613d976108650d70844606b8c8fbce7 (patch)
tree10eeb1d758f366bd1da460e0648e5ddfc31194c2 /sys/sys/_task.h
parent0171fe42f2448a208d2a28dc729fd4257befedbd (diff)
downloadsrc-f082437d5613d976108650d70844606b8c8fbce7.tar.gz
src-f082437d5613d976108650d70844606b8c8fbce7.zip
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.
Notes
Notes: svn path=/head/; revision=132792
Diffstat (limited to 'sys/sys/_task.h')
-rw-r--r--sys/sys/_task.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/sys/_task.h b/sys/sys/_task.h
index c5c5a68582b5..f459c2370ac5 100644
--- a/sys/sys/_task.h
+++ b/sys/sys/_task.h
@@ -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>
/*