summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/pthread_getschedparam.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-16 03:36:39 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-16 03:36:39 +0000
commitb823b17fa7dc5a15d822a4f31fe8ee846a65cfae (patch)
treecbf84b1c8fc0682e74165cc48b9baf0d7b382533 /libpthread/nptl/pthread_getschedparam.c
parent708121712921e39f6d81179c376e53d26ee817b4 (diff)
downloaduClibc-alpine-b823b17fa7dc5a15d822a4f31fe8ee846a65cfae.tar.bz2
uClibc-alpine-b823b17fa7dc5a15d822a4f31fe8ee846a65cfae.tar.xz
Sync with glibc reference tree and changes for uClibc thus far.
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