Date: Fri, 8 Dec 2017 19:56:57 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326708 - head/stand/libsa Message-ID: <201712081956.vB8Juv92094209@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712081956.vB8Juv92094209>