netbsd: std.c: fix pthread_rwlock_t

- make .owner field optional
This commit is contained in:
Michael Dusan 2023-08-15 17:20:04 -04:00
parent bac3c2748f
commit 4532ff2780
No known key found for this signature in database
GPG Key ID: ED4C5BA849FA1B74

View File

@ -93,7 +93,7 @@ pub const pthread_rwlock_t = extern struct {
wblocked_first: ?*u8 = null,
wblocked_last: ?*u8 = null,
nreaders: c_uint = 0,
owner: std.c.pthread_t = null,
owner: ?std.c.pthread_t = null,
private: ?*anyopaque = null,
};