c.zig: Add definition for pthread_key_t

Add missing definition for pthread_key_t

Closes #13950
This commit is contained in:
Ganesan Rajagopal 2022-12-15 10:32:56 +05:30 committed by Veikka Tuominen
parent b3f4e0d091
commit aa3964477f

View File

@ -371,6 +371,7 @@ 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;