svn commit: r285309 - head/sys/sys
Ed Schouten
ed at FreeBSD.org
Thu Jul 9 07:31:41 UTC 2015
Author: ed
Date: Thu Jul 9 07:31:40 2015
New Revision: 285309
URL: https://svnweb.freebsd.org/changeset/base/285309
Log:
Add forward declaration of struct thread.
This structure is used in some of the functions in this header, but we
don't depend on any header that pulls it i.
Modified:
head/sys/sys/cpuset.h
Modified: head/sys/sys/cpuset.h
==============================================================================
--- head/sys/sys/cpuset.h Thu Jul 9 07:21:33 2015 (r285308)
+++ head/sys/sys/cpuset.h Thu Jul 9 07:31:40 2015 (r285309)
@@ -116,6 +116,7 @@ struct cpuset {
extern cpuset_t *cpuset_root;
struct prison;
struct proc;
+struct thread;
struct cpuset *cpuset_thread0(void);
struct cpuset *cpuset_ref(struct cpuset *);
More information about the svn-src-all
mailing list