From: Rich Felker Date: Sun, 4 May 2014 17:15:27 +0000 (-0400) Subject: remove useless __yield alias for sched_yield X-Git-Tag: v1.1.1~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=adbf0258be4eea5f012e173de7e55a87f3093669;p=oweals%2Fmusl.git remove useless __yield alias for sched_yield this is no longer used for anything, and reportedly clashed with a builtin on certain compilers. --- 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 #include "syscall.h" -#include "libc.h" -int __yield() +int sched_yield() { return syscall(SYS_sched_yield); } - -weak_alias(__yield, sched_yield);