From 10fbcb274dfa0b57c5fb2c44675b23496b03a7a9 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 18 Oct 2005 18:42:59 +0000 Subject: [PATCH] boolean -> bool (with configure checks and replacements for pre C99 compilers) --- lib/pack/ptest.c | 2 +- lib/pathplan/vis.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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)) -- 2.40.0