[libc][Obvious] Fix bad include and type in threads/tss_get.h.
authorSiva Chandra Reddy <sivachandra@google.com>
Thu, 9 Mar 2023 08:38:02 +0000 (08:38 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Thu, 9 Mar 2023 08:38:32 +0000 (08:38 +0000)
libc/src/threads/tss_get.h

index 9f1d95a..4cedce9 100644 (file)
@@ -9,11 +9,11 @@
 #ifndef LLVM_LIBC_SRC_THREADS_TSS_GET_H
 #define LLVM_LIBC_SRC_THREADS_TSS_GET_H
 
-#include <pthread.h>
+#include <threads.h>
 
 namespace __llvm_libc {
 
-void *tss_get(pthread_key_t);
+void *tss_get(tss_t);
 
 } // namespace __llvm_libc