[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 9f1d95ab747ede99c86ee22cd5af7c87449a90ec..4cedce988333fd0b6752ac5f708cee1e66e9a486 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