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:
d7389f0
)
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>
Tue, 20 May 2014 21:58:24 +0000
(17:58 -0400)
this is no longer used for anything, and reportedly clashed with a
builtin on certain compilers.
(cherry picked from commit
adbf0258be4eea5f012e173de7e55a87f3093669
)
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);