summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/pthread_getschedparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/pthread_getschedparam.c')
-rw-r--r--libpthread/nptl/pthread_getschedparam.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libpthread/nptl/pthread_getschedparam.c b/libpthread/nptl/pthread_getschedparam.c
index b9808bb68..64b15cde9 100644
--- a/libpthread/nptl/pthread_getschedparam.c
+++ b/libpthread/nptl/pthread_getschedparam.c
@@ -51,11 +51,7 @@ __pthread_getschedparam (threadid, policy, param)
not yet been retrieved do it now. */
if ((pd->flags & ATTR_FLAG_SCHED_SET) == 0)
{
-#ifdef __UCLIBC__
if (sched_getparam (pd->tid, &pd->schedparam) != 0)
-#else
- if (__sched_getparam (pd->tid, &pd->schedparam) != 0)
-#endif
result = 1;
else
pd->flags |= ATTR_FLAG_SCHED_SET;
@@ -63,11 +59,7 @@ __pthread_getschedparam (threadid, policy, param)
if ((pd->flags & ATTR_FLAG_POLICY_SET) == 0)
{
-#ifdef __UCLIBC__
pd->schedpolicy = sched_getscheduler (pd->tid);
-#else
- pd->schedpolicy = __sched_getscheduler (pd->tid);
-#endif
if (pd->schedpolicy == -1)
result = 1;
else