summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2008-04-02 08:53:18 +0000
committerDavid Xu <davidxu@FreeBSD.org>2008-04-02 08:53:18 +0000
commit7a30bcf04b0364f36309b3de874cee751ad6d6a8 (patch)
treed61a47e63d4222c222a99adeabe39889fa24ca45
parent8b873a232878671d25d7dcf1220c1188da0dbc49 (diff)
Notes
-rw-r--r--lib/libc/include/namespace.h2
-rw-r--r--lib/libc/include/un-namespace.h2
-rw-r--r--lib/libthr/thread/thr_private.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h
index 63b09fdf10aa3..22c3f6402e233 100644
--- a/lib/libc/include/namespace.h
+++ b/lib/libc/include/namespace.h
@@ -132,6 +132,7 @@
#define pthread_detach _pthread_detach
#define pthread_equal _pthread_equal
#define pthread_exit _pthread_exit
+#define pthread_getaffinity_np _pthread_getaffinity_np
#define pthread_getconcurrency _pthread_getconcurrency
#define pthread_getcpuclockid _pthread_getcpuclockid
#define pthread_getprio _pthread_getprio
@@ -182,6 +183,7 @@
#define pthread_rwlockattr_setpshared _pthread_rwlockattr_setpshared
#define pthread_self _pthread_self
#define pthread_set_name_np _pthread_set_name_np
+#define pthread_setaffinity_np _pthread_setaffinity_np
#define pthread_setcancelstate _pthread_setcancelstate
#define pthread_setcanceltype _pthread_setcanceltype
#define pthread_setconcurrency _pthread_setconcurrency
diff --git a/lib/libc/include/un-namespace.h b/lib/libc/include/un-namespace.h
index ae19d7b866b0c..64d16764ceb2f 100644
--- a/lib/libc/include/un-namespace.h
+++ b/lib/libc/include/un-namespace.h
@@ -113,6 +113,7 @@
#undef pthread_detach
#undef pthread_equal
#undef pthread_exit
+#undef pthread_getaffinity_np
#undef pthread_getconcurrency
#undef pthread_getcpuclockid
#undef pthread_getprio
@@ -163,6 +164,7 @@
#undef pthread_rwlockattr_setpshared
#undef pthread_self
#undef pthread_set_name_np
+#undef pthread_setaffinity_np
#undef pthread_setcancelstate
#undef pthread_setcanceltype
#undef pthread_setconcurrency
diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h
index 95affc1fe5190..4f61b19656338 100644
--- a/lib/libthr/thread/thr_private.h
+++ b/lib/libthr/thread/thr_private.h
@@ -668,8 +668,6 @@ int _schedparam_to_rtp(int policy, const struct sched_param *param,
void _thread_bp_create(void);
void _thread_bp_death(void);
int _sched_yield(void);
-int _pthread_getaffinity_np(pthread_t, size_t, cpuset_t *);
-int _pthread_setaffinity_np(pthread_t, size_t, const cpuset_t *);
/* #include <fcntl.h> */
#ifdef _SYS_FCNTL_H_