aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2023-04-14 12:33:59 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2023-04-14 13:14:16 -0500
commit442b0d9db4df4913b3e21dad30b21746964f8e1a (patch)
treea3da0c5b71b738b0e7cf1b9f2f0892646e9d9abe /libc
parent40e356d67fb258ab6c3b8f6bedea3982f93e0b57 (diff)
downloadllvm-442b0d9db4df4913b3e21dad30b21746964f8e1a.zip
llvm-442b0d9db4df4913b3e21dad30b21746964f8e1a.tar.gz
llvm-442b0d9db4df4913b3e21dad30b21746964f8e1a.tar.bz2
[LIBC] Clarify namespace of `thread_exit` in `pthread_exit`
Just add `__llvm_libc::` to makes things clearer. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D148292
Diffstat (limited to 'libc')
-rw-r--r--libc/src/pthread/pthread_exit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/pthread/pthread_exit.cpp b/libc/src/pthread/pthread_exit.cpp
index d9866c6..1d1a737 100644
--- a/libc/src/pthread/pthread_exit.cpp
+++ b/libc/src/pthread/pthread_exit.cpp
@@ -19,7 +19,7 @@ static_assert(sizeof(pthread_t) == sizeof(__llvm_libc::Thread),
"Mismatch between pthread_t and internal Thread.");
LLVM_LIBC_FUNCTION(void, pthread_exit, (void *retval)) {
- thread_exit(ThreadReturnValue(retval), ThreadStyle::POSIX);
+ __llvm_libc::thread_exit(ThreadReturnValue(retval), ThreadStyle::POSIX);
}
} // namespace __llvm_libc