diff options
author | ed <ed@FreeBSD.org> | 2015-07-09 07:31:40 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2015-07-09 07:31:40 +0000 |
commit | 6dc0345fb09cf1296ee10f919071f1e146ae33f7 (patch) | |
tree | d417f607dcd32c4fa8d344d5d43a98416b9c281e | |
parent | a69356d93da4f50270d44940fabc269d5f7d665d (diff) | |
download | FreeBSD-src-6dc0345fb09cf1296ee10f919071f1e146ae33f7.zip FreeBSD-src-6dc0345fb09cf1296ee10f919071f1e146ae33f7.tar.gz |
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.
-rw-r--r-- | sys/sys/cpuset.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/cpuset.h b/sys/sys/cpuset.h index ee0fb04..4fa55a9 100644 --- a/sys/sys/cpuset.h +++ b/sys/sys/cpuset.h @@ -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 *); |