getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOW
[musl] / src / sched / sched_yield.c
index 6c0742b..ee6f0e7 100644 (file)
@@ -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);