macro-fundamental: fix bool → sd_bool

This commit is contained in:
Lennart Poettering
2021-11-11 23:50:52 +00:00
committed by Luca Boccassi
parent 977e68c71b
commit e7cef2a6ea
+1 -1
View File
@@ -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); \
})