From: Costa Shulyupin Date: Wed, 6 Jul 2022 09:35:18 +0000 (+0300) Subject: replace include of logic.h with stdbool.h X-Git-Tag: 5.0.1~55^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0563205c714e7cea050c8406cb38d2e9a2d6420e;p=graphviz replace include of logic.h with stdbool.h and replace FALSE/TRUE with false/true to reuse standard definitions --- diff --git a/lib/label/index.c b/lib/label/index.c index 764323516..0d3f1b01f 100644 --- a/lib/label/index.c +++ b/lib/label/index.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include LeafList_t *RTreeNewLeafList(Leaf_t * lp) @@ -249,7 +249,7 @@ RTreeInsert2(RTree_t * rtp, Rect_t * r, void *data, b.child = (Node_t *) data; return AddBranch(rtp, &b, n, new); } else { /* Not supposed to happen */ - assert(FALSE); + assert(false); return 0; } } diff --git a/lib/label/split.q.c b/lib/label/split.q.c index 57d7c57eb..47ecfad95 100644 --- a/lib/label/split.q.c +++ b/lib/label/split.q.c @@ -13,7 +13,7 @@ #include #include #include