summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/pthread_setschedparam.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_setschedparam.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_setschedparam.c')
-rw-r--r--libpthread/nptl/pthread_setschedparam.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libpthread/nptl/pthread_setschedparam.c b/libpthread/nptl/pthread_setschedparam.c
index a3947ba25..c72116bcb 100644
--- a/libpthread/nptl/pthread_setschedparam.c
+++ b/libpthread/nptl/pthread_setschedparam.c
@@ -46,11 +46,7 @@ __pthread_setschedparam (threadid, policy, param)
lll_lock (pd->lock);
/* Try to set the scheduler information. */
-#ifdef __UCLIBC__
if (__builtin_expect (sched_setscheduler (pd->tid, policy,
-#else
- if (__builtin_expect (__sched_setscheduler (pd->tid, policy,
-#endif
param) == -1, 0))
result = errno;
else