mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 14:55:37 +03:00
macro-fundamental: fix bool → sd_bool
This commit is contained in:
parent
977e68c71b
commit
e7cef2a6ea
@ -85,7 +85,7 @@
|
||||
#define ONCE __ONCE(UNIQ_T(_once_, UNIQ))
|
||||
#define __ONCE(o) \
|
||||
({ \
|
||||
static bool (o) = sd_false; \
|
||||
static sd_bool (o) = sd_false; \
|
||||
__sync_bool_compare_and_swap(&(o), sd_false, sd_true); \
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user