Remove _KERNEL hack now that errno.h does the right thing when
_STANDALONE is defined. Sponsored By: Netflix
This commit is contained in:
parent
49cb01302c
commit
c008ab0879
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326708
@ -72,10 +72,7 @@
|
||||
#define CHK(fmt, args...) printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args)
|
||||
#define PCHK(fmt, args...) {printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args); getchar();}
|
||||
|
||||
/* Avoid unwanted userlandish components */
|
||||
#define _KERNEL
|
||||
#include <sys/errno.h>
|
||||
#undef _KERNEL
|
||||
|
||||
/* special stand error codes */
|
||||
#define EADAPT (ELAST+1) /* bad adaptor */
|
||||
|
Loading…
Reference in New Issue
Block a user