openbsd: define sem_t as optional pointer on opaque {}
This commit is contained in:
committed by
Veikka Tuominen
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;
|
||||
|
||||
Reference in New Issue
Block a user