From: ellson Date: Tue, 18 Oct 2005 18:42:59 +0000 (+0000) Subject: boolean -> bool (with configure checks and replacements for pre C99 compilers) X-Git-Tag: LAST_LIBGRAPH~32^2~7283 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10fbcb274dfa0b57c5fb2c44675b23496b03a7a9;p=graphviz boolean -> bool (with configure checks and replacements for pre C99 compilers) --- diff --git a/lib/pack/ptest.c b/lib/pack/ptest.c index 1dd6f4e2c..ed0868e4e 100644 --- a/lib/pack/ptest.c +++ b/lib/pack/ptest.c @@ -208,7 +208,7 @@ static void initPos(Agraph_t * g) } } -static void ptest_nodesize(node_t * n, boolean flip) +static void ptest_nodesize(node_t * n, bool flip) { int w; diff --git a/lib/pathplan/vis.h b/lib/pathplan/vis.h index 0abaa2197..29851e0ee 100644 --- a/lib/pathplan/vis.h +++ b/lib/pathplan/vis.h @@ -30,7 +30,6 @@ extern "C" { #endif typedef COORD **array2; - typedef unsigned char boolean; #define OBSCURED 0.0 #define EQ(p,q) ((p.x == q.x) && (p.y == q.y))