projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math: use double_t for temporaries to avoid stores on i386
[musl]
/
src
/
process
/
waitid.c
diff --git
a/src/process/waitid.c
b/src/process/waitid.c
index
0ec0d55
..
c67feac
100644
(file)
--- a/
src/process/waitid.c
+++ b/
src/process/waitid.c
@@
-1,7
+1,8
@@
#include <sys/wait.h>
#include "syscall.h"
#include <sys/wait.h>
#include "syscall.h"
+#include "libc.h"
int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
{
int waitid(idtype_t type, id_t id, siginfo_t *info, int options)
{
- return syscall
5(__NR_waitid, type, id, (long)
info, options, 0);
+ return syscall
_cp(SYS_waitid, type, id,
info, options, 0);
}
}