mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
openbsd: define sem_t as optional pointer on opaque {}
This commit is contained in:
parent
830bc41b1f
commit
bc11528b8b
@ -28,9 +28,10 @@ pub const pthread_cond_t = extern struct {
|
||||
pub const pthread_spinlock_t = extern struct {
|
||||
inner: ?*c_void = null,
|
||||
};
|
||||
|
||||
pub const pthread_attr_t = extern struct {
|
||||
inner: ?*c_void = null,
|
||||
};
|
||||
|
||||
pub const sem_t = ?*opaque {};
|
||||
|
||||
pub extern "c" fn posix_memalign(memptr: *?*c_void, alignment: usize, size: usize) c_int;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user