mirror of
https://github.com/fluencelabs/musl
synced 2025-05-09 22:02:18 +00:00
remove useless __yield alias for sched_yield
this is no longer used for anything, and reportedly clashed with a builtin on certain compilers.
This commit is contained in:
parent
e783efa6ef
commit
adbf0258be
@ -1,10 +1,7 @@
|
|||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
#include "syscall.h"
|
#include "syscall.h"
|
||||||
#include "libc.h"
|
|
||||||
|
|
||||||
int __yield()
|
int sched_yield()
|
||||||
{
|
{
|
||||||
return syscall(SYS_sched_yield);
|
return syscall(SYS_sched_yield);
|
||||||
}
|
}
|
||||||
|
|
||||||
weak_alias(__yield, sched_yield);
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user