summaryrefslogtreecommitdiff
path: root/src/sched
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched')
-rw-r--r--src/sched/sched_yield.c5
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);