Browse Source

remove useless __yield alias for sched_yield

this is no longer used for anything, and reportedly clashed with a
builtin on certain compilers.
Rich Felker 11 years ago
parent
commit
adbf0258be
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/sched/sched_yield.c

+ 1 - 4
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);