Remove _KERNEL hack now that errno.h does the right thing when

_STANDALONE is defined.

Sponsored By: Netflix
This commit is contained in:
imp 2017-12-08 19:56:57 +00:00
parent 1fb5990587
commit 6bb46c6f8f

View File

@ -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 */