]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
macro-fundamental: fix bool → sd_bool
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Nov 2021 21:02:56 +0000 (22:02 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 11 Nov 2021 23:50:52 +0000 (23:50 +0000)
src/fundamental/macro-fundamental.h

index cd9e60cf60e162cf5a043a49ab6406792b7dea04..1f640b3ae3db52e702c1b1255b21e8a455eaa0e0 100644 (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);  \
         })