aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2021-12-05 21:27:33 +0000
committerStefan Eßer <se@FreeBSD.org>2021-12-05 22:00:25 +0000
commit5e04571cf3cf4024be926976a6abf19626df30be (patch)
treedf3a24eaf2af124653d3929799c9b6db8c5b2507 /include
parent288a92252bd8ec06bb5e200f75b6c4859fc6bd25 (diff)
Diffstat (limited to 'include')
-rw-r--r--include/sched.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sched.h b/include/sched.h
index 460d3bfed154..2d4f301c9718 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -33,20 +33,16 @@
#include <sys/types.h>
#include <sys/sched.h>
#if __BSD_VISIBLE
-#ifdef _WITH_CPU_SET_T
#include <sys/cpuset.h>
struct _cpuset;
typedef struct _cpuset cpu_set_t;
-#endif /* _WITH_CPU_SET_T */
#endif /* __BSD_VISIBLE */
__BEGIN_DECLS
#if __BSD_VISIBLE
-#ifdef _WITH_CPU_SET_T
int sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset);
int sched_setaffinity(int pid, size_t cpusetsz, const cpuset_t *cpuset);
int sched_getcpu(void);
-#endif /* _WITH_CPU_SET_T */
#endif /* __BSD_VISIBLE */
__END_DECLS