diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-27 22:27:01 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-27 22:27:01 -0600 |
commit | 7ec97df3ee8edfd102fe573eaa61cf4e5c6284cb (patch) | |
tree | e696f30da5645cdd3cb09971d9544622e9943bcf /libcr_ipc | |
parent | fa357459f88bb8f0170d1a68df66e7d068d59996 (diff) |
wip fixes
Diffstat (limited to 'libcr_ipc')
-rw-r--r-- | libcr_ipc/sema.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcr_ipc/sema.c b/libcr_ipc/sema.c index 5f489aa..a3b2ca0 100644 --- a/libcr_ipc/sema.c +++ b/libcr_ipc/sema.c @@ -36,7 +36,10 @@ static inline bool drain(cr_sema_t *sema) { cr_unpause(sema->head->val); sema->head = sema->head->next; if (!sema->head) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdiscarded-qualifiers" sema->tail = &sema->head; +#pragma GCC diagnostic pop } } sema->locked = false; |