Author: jhb Date: Thu Jul 14 23:14:10 2016 New Revision: 302858 URL: https://svnweb.freebsd.org/changeset/base/302858
Log: Move nested include of <sys/queue.h> inside _KERNEL. This removes namespace pollution for userland brought in by r299122. PR: 210319 Submitted by: knu MFC after: 1 week Modified: head/sys/sys/cpuset.h Modified: head/sys/sys/cpuset.h ============================================================================== --- head/sys/sys/cpuset.h Thu Jul 14 20:17:08 2016 (r302857) +++ head/sys/sys/cpuset.h Thu Jul 14 23:14:10 2016 (r302858) @@ -35,7 +35,6 @@ #include <sys/_cpuset.h> #include <sys/bitset.h> -#include <sys/queue.h> #define _NCPUBITS _BITSET_BITS #define _NCPUWORDS __bitset_words(CPU_SETSIZE) @@ -92,6 +91,8 @@ #define CPUSET_DEFAULT 0 #ifdef _KERNEL +#include <sys/queue.h> + LIST_HEAD(setlist, cpuset); /* _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"