summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-05-04 13:15:27 -0400
committerRich Felker <dalias@aerifal.cx>2014-05-04 13:15:27 -0400
commitadbf0258be4eea5f012e173de7e55a87f3093669 (patch)
tree4d5ef99fbe2ef2a6d7ab1ae9e329c0c64507a71c
parente783efa6eff5e0b8c91891f778598a95e1f7ad87 (diff)
downloadmusl-adbf0258be4eea5f012e173de7e55a87f3093669.tar.gz
remove useless __yield alias for sched_yield
this is no longer used for anything, and reportedly clashed with a builtin on certain compilers.
-rw-r--r--src/sched/sched_yield.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sched/sched_yield.c b/src/sched/sched_yield.c
index 6c0742b4..ee6f0e7f 100644
--- a/src/sched/sched_yield.c
+++ b/src/sched/sched_yield.c
@@ -1,10 +1,7 @@
#include <sched.h>
#include "syscall.h"
-#include "libc.h"
-int __yield()
+int sched_yield()
{
return syscall(SYS_sched_yield);
}
-
-weak_alias(__yield, sched_yield);