]> granicus.if.org Git - graphviz/commitdiff
boolean -> bool (with configure checks and replacements for pre C99 compilers)
authorellson <devnull@localhost>
Tue, 18 Oct 2005 18:42:59 +0000 (18:42 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 18:42:59 +0000 (18:42 +0000)
lib/pack/ptest.c
lib/pathplan/vis.h

index 1dd6f4e2c45459cbbf53b56f603205698de5f500..ed0868e4e75aa72640a83681e23d64ebb6d9f884 100644 (file)
@@ -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;
 
index 0abaa2197da4d78f7fb7c861d095ca1756b476f6..29851e0ee6efca6b320d7b5c47bcfb95537c9d25 100644 (file)
@@ -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))