about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile3
-rw-r--r--nptl/Versions2
-rw-r--r--nptl/forward.c3
-rw-r--r--nptl/nptl-init.c1
4 files changed, 3 insertions, 6 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 069db9a195..9521fac620 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -56,6 +56,7 @@ routines = \
   pthread_condattr_destroy \
   pthread_condattr_init \
   pthread_equal \
+  pthread_getschedparam \
   pthread_self \
   register-atfork \
 
@@ -79,7 +80,7 @@ libpthread-routines = nptl-init nptlfreeres vars events version pt-interp \
 		      pthread_join pthread_tryjoin pthread_timedjoin \
 		      pthread_clockjoin pthread_join_common pthread_yield \
 		      pthread_getconcurrency pthread_setconcurrency \
-		      pthread_getschedparam pthread_setschedparam \
+		      pthread_setschedparam \
 		      pthread_setschedprio \
 		      pthread_attr_getguardsize pthread_attr_setguardsize \
 		      pthread_attr_getstackaddr pthread_attr_setstackaddr \
diff --git a/nptl/Versions b/nptl/Versions
index 914404c45e..ccf7be396b 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -49,7 +49,7 @@ libpthread {
     pthread_create; pthread_join;
     pthread_exit; pthread_detach;
 
-    pthread_getschedparam; pthread_setschedparam;
+    pthread_setschedparam;
 
     pthread_mutex_init; pthread_mutex_destroy;
     pthread_mutex_lock; pthread_mutex_trylock; pthread_mutex_unlock;
diff --git a/nptl/forward.c b/nptl/forward.c
index 6ee4b92d52..f84f7795a2 100644
--- a/nptl/forward.c
+++ b/nptl/forward.c
@@ -108,9 +108,6 @@ FORWARD_NORETURN (__pthread_exit, void, (void *retval), (retval),
 strong_alias (__pthread_exit, pthread_exit);
 
 
-FORWARD (pthread_getschedparam,
-	 (pthread_t target_thread, int *policy, struct sched_param *param),
-	 (target_thread, policy, param), 0)
 FORWARD (pthread_setschedparam,
 	 (pthread_t target_thread, int policy,
 	  const struct sched_param *param), (target_thread, policy, param), 0)
diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c
index 855225e01a..34a2518250 100644
--- a/nptl/nptl-init.c
+++ b/nptl/nptl-init.c
@@ -83,7 +83,6 @@ static const struct pthread_functions pthread_functions =
     .ptr___pthread_cond_timedwait_2_0 = __pthread_cond_timedwait_2_0,
 # endif
     .ptr___pthread_exit = __pthread_exit,
-    .ptr_pthread_getschedparam = __pthread_getschedparam,
     .ptr_pthread_setschedparam = __pthread_setschedparam,
     .ptr_pthread_mutex_destroy = __pthread_mutex_destroy,
     .ptr_pthread_mutex_init = __pthread_mutex_init,