svn commit: r333913 - head/sys/sys
Matt Macy
mmacy at FreeBSD.org
Sun May 20 04:15:13 UTC 2018
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;
More information about the svn-src-all
mailing list