Remove _KERNEL hack now that errno.h does the right thing when
_STANDALONE is defined. Sponsored By: Netflix
This commit is contained in:
parent
1fb5990587
commit
6bb46c6f8f
@ -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