Author: imp Date: Fri Dec 8 19:56:57 2017 New Revision: 326708 URL: https://svnweb.freebsd.org/changeset/base/326708
Log: Remove _KERNEL hack now that errno.h does the right thing when _STANDALONE is defined. Sponsored By: Netflix Modified: head/stand/libsa/stand.h Modified: head/stand/libsa/stand.h ============================================================================== --- head/stand/libsa/stand.h Fri Dec 8 19:56:35 2017 (r326707) +++ head/stand/libsa/stand.h Fri Dec 8 19:56:57 2017 (r326708) @@ -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 */ _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"