commit | 95dbcfaf045edfb17c48fd3e46fe2e3a278dc148 | [log] [tgz] |
---|---|---|
author | Evgeny Eltsin <eaeltsin@google.com> | Mon Aug 03 18:28:25 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Aug 03 18:28:25 2020 +0000 |
tree | 916b87a3104afda1d1d9619103473216f5283795 | |
parent | 0f4bdb04fb4b803bbf19850c86cc9270d64a06b9 [diff] | |
parent | 61be80182cb9bb668e0449d0fe04a88cec19e529 [diff] |
Merge "Fix __clone_for_fork attributes"
diff --git a/libc/bionic/fork.cpp b/libc/bionic/fork.cpp index 982ba95..5bc7d3f 100644 --- a/libc/bionic/fork.cpp +++ b/libc/bionic/fork.cpp
@@ -34,7 +34,7 @@ #include "pthread_internal.h" __BIONIC_WEAK_FOR_NATIVE_BRIDGE -int __clone_for_fork() { +extern "C" __LIBC_HIDDEN__ int __clone_for_fork() { pthread_internal_t* self = __get_thread(); int result = clone(nullptr, nullptr, (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD),