From adbf0258be4eea5f012e173de7e55a87f3093669 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 4 May 2014 13:15:27 -0400 Subject: [PATCH] remove useless __yield alias for sched_yield this is no longer used for anything, and reportedly clashed with a builtin on certain compilers. --- src/sched/sched_yield.c | 5 +---- 1 file changed, 1 insertion(+), 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 #include "syscall.h" -#include "libc.h" -int __yield() +int sched_yield() { return syscall(SYS_sched_yield); } - -weak_alias(__yield, sched_yield);