From: Matthew Fernandez Date: Sun, 29 Aug 2021 23:32:45 +0000 (-0700) Subject: write_node_test: use a C99 bool return type instead of boolean X-Git-Tag: 2.49.1~46^2~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e1f28b3793f7e971d16a8f487fae36230fc997f;p=graphviz write_node_test: use a C99 bool return type instead of boolean --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 5a36b62bc..8c573c118 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -1445,7 +1445,7 @@ static bool write_edge_test(Agraph_t * g, Agedge_t * e) return true; } -static boolean write_node_test(Agraph_t * g, Agnode_t * n) +static bool write_node_test(Agraph_t * g, Agnode_t * n) { Agraph_t *sg; int c; @@ -1453,9 +1453,9 @@ static boolean write_node_test(Agraph_t * g, Agnode_t * n) for (c = 1; c <= GD_n_cluster(g); c++) { sg = GD_clust(g)[c]; if (agcontains(sg, n)) - return FALSE; + return false; } - return TRUE; + return true; } #define INITPTS 1000