[libc-commits] [libc] b32acff - [libc][Obvious] Fix bad include and type in threads/tss_get.h.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Thu Mar 9 00:48:14 PST 2023


Author: Siva Chandra Reddy
Date: 2023-03-09T08:38:32Z
New Revision: b32acff7b749861d3bdf401070b6d6d417158490

URL: https://github.com/llvm/llvm-project/commit/b32acff7b749861d3bdf401070b6d6d417158490
DIFF: https://github.com/llvm/llvm-project/commit/b32acff7b749861d3bdf401070b6d6d417158490.diff

LOG: [libc][Obvious] Fix bad include and type in threads/tss_get.h.

Added: 
    

Modified: 
    libc/src/threads/tss_get.h

Removed: 
    


################################################################################
diff  --git a/libc/src/threads/tss_get.h b/libc/src/threads/tss_get.h
index 9f1d95ab747ed..4cedce988333f 100644
--- a/libc/src/threads/tss_get.h
+++ b/libc/src/threads/tss_get.h
@@ -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
 


        


More information about the libc-commits mailing list