commit 775b0c1347cdc932626d199cb22928013ee05fea (tree)
parent e1345fd0a05b7dd956f027b6ad7061a9b3a15e26
Author: Andrew Kelley <andrew@ziglang.org>
Date: Tue, 20 Dec 2022 14:37:05 -0700
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
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/lib/std/c.zig b/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;