diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-05-04 13:15:27 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-05-04 13:15:27 -0400 |
commit | adbf0258be4eea5f012e173de7e55a87f3093669 (patch) | |
tree | 4d5ef99fbe2ef2a6d7ab1ae9e329c0c64507a71c | |
parent | e783efa6eff5e0b8c91891f778598a95e1f7ad87 (diff) | |
download | musl-adbf0258be4eea5f012e173de7e55a87f3093669.tar.gz musl-adbf0258be4eea5f012e173de7e55a87f3093669.tar.bz2 musl-adbf0258be4eea5f012e173de7e55a87f3093669.tar.xz musl-adbf0258be4eea5f012e173de7e55a87f3093669.zip |
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.c | 5 |
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); |