svn commit: r326708 - head/stand/libsa

Warner Losh imp at FreeBSD.org
Fri Dec 8 19:56:58 UTC 2017


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


More information about the svn-src-all mailing list