From 1ac57efd01b511dacdd9b3cbc5f3bec775839017 Mon Sep 17 00:00:00 2001 From: mux Date: Wed, 28 Jul 2004 09:12:54 +0000 Subject: [PATCH] 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. --- sys/sys/_task.h | 4 ---- 1 file changed, 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 /*