[libsanitizer] Fix the return type of internal_fork

llvm-svn: 208714
This commit is contained in:
Alexander Potapenko 2014-05-13 17:31:09 +00:00
parent 9d03d8a65d
commit 291b827890
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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));
} }