Commit 775b0c1347

Andrew Kelley <andrew@ziglang.org>
2022-12-20 22:37:05
Revert "c.zig: Add definition for pthread_key_t"
This reverts commit aa3964477f662ea5487aa4a1e4595d174e49a89d. This declaration is already provided by operating-system-specific files. This is not the correct solution to the problem. See #14013 Reopens #13950
1 parent e1345fd
Changed files (1)
lib
std
lib/std/c.zig
@@ -371,7 +371,6 @@ pub extern "c" fn pthread_rwlock_trywrlock(rwl: *c.pthread_rwlock_t) callconv(.C
 pub extern "c" fn pthread_rwlock_unlock(rwl: *c.pthread_rwlock_t) callconv(.C) c.E;
 
 pub const pthread_t = *opaque {};
-pub const pthread_key_t = *opaque {};
 pub const FILE = opaque {};
 
 pub extern "c" fn dlopen(path: [*:0]const u8, mode: c_int) ?*anyopaque;