An a #error discouraging people from using pipe.h from places outside

the kernel.
This commit is contained in:
Mike Silbersack 2004-07-21 03:11:41 +00:00
parent 27eabced44
commit a0c03350a3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132478

View File

@ -25,10 +25,7 @@
#define _SYS_PIPE_H_ #define _SYS_PIPE_H_
#ifndef _KERNEL #ifndef _KERNEL
#include <sys/time.h> /* for struct timespec */ #error "no user-servicable parts inside"
#include <sys/selinfo.h> /* for struct selinfo */
#include <vm/vm.h> /* for vm_page_t */
#include <machine/param.h> /* for PAGE_SIZE */
#endif #endif
/* /*