forked from OSchip/llvm-project
[libsanitizer] Fix the return type of internal_fork
llvm-svn: 208714
This commit is contained in:
parent
9d03d8a65d
commit
291b827890
|
@ -91,7 +91,7 @@ uptr internal_waitpid(int pid, int *status, int options);
|
||||||
uptr internal_getpid();
|
uptr internal_getpid();
|
||||||
uptr internal_getppid();
|
uptr internal_getppid();
|
||||||
|
|
||||||
uptr internal_fork();
|
int internal_fork();
|
||||||
|
|
||||||
// Threading
|
// Threading
|
||||||
uptr internal_sched_yield();
|
uptr internal_sched_yield();
|
||||||
|
|
|
@ -501,7 +501,7 @@ uptr internal_sigaltstack(const struct sigaltstack *ss,
|
||||||
return internal_syscall(SYSCALL(sigaltstack), (uptr)ss, (uptr)oss);
|
return internal_syscall(SYSCALL(sigaltstack), (uptr)ss, (uptr)oss);
|
||||||
}
|
}
|
||||||
|
|
||||||
uptr internal_fork() {
|
int internal_fork() {
|
||||||
return internal_syscall(SYSCALL(fork));
|
return internal_syscall(SYSCALL(fork));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue