projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e783efa
)
remove useless __yield alias for sched_yield
author
Rich Felker
<dalias@aerifal.cx>
Sun, 4 May 2014 17:15:27 +0000
(13:15 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 4 May 2014 17:15:27 +0000
(13:15 -0400)
this is no longer used for anything, and reportedly clashed with a
builtin on certain compilers.
src/sched/sched_yield.c
patch
|
blob
|
history
diff --git
a/src/sched/sched_yield.c
b/src/sched/sched_yield.c
index 6c0742b4ec0c0e00da44b5db1d19220f97baacaa..ee6f0e7f160410c765146fd5713adcd9909627c1 100644
(file)
--- 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);