From 775b0c1347cdc932626d199cb22928013ee05fea Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 20 Dec 2022 14:37:05 -0700 Subject: [PATCH] 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 --- lib/std/c.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/std/c.zig b/lib/std/c.zig index 3d6517dca7..5f03f1c619 100644 --- 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;