Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2015 07:31:41 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285309 - head/sys/sys
Message-ID:  <201507090731.t697VfRm073055@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 *);



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