Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2018 04:15:12 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333913 - head/sys/sys
Message-ID:  <201805200415.w4K4FC0N063251@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmacy
Date: Sun May 20 04:15:12 2018
New Revision: 333913
URL: https://svnweb.freebsd.org/changeset/base/333913

Log:
  epoch.h: hide proc.h->priority.h from user

Modified:
  head/sys/sys/epoch.h

Modified: head/sys/sys/epoch.h
==============================================================================
--- head/sys/sys/epoch.h	Sun May 20 03:23:17 2018	(r333912)
+++ head/sys/sys/epoch.h	Sun May 20 04:15:12 2018	(r333913)
@@ -29,9 +29,12 @@
 
 #ifndef _SYS_EPOCH_H_
 #define _SYS_EPOCH_H_
+#ifdef _KERNEL
 #include <sys/lock.h>
 #include <sys/proc.h>
+#endif
 
+struct thread;
 struct epoch;
 typedef struct epoch *epoch_t;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805200415.w4K4FC0N063251>