]> granicus.if.org Git - graphviz/commitdiff
remove redefining bool to int in Smyrna
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 2 May 2021 19:56:47 +0000 (12:56 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 8 May 2021 20:55:37 +0000 (13:55 -0700)
This appears to have no effect, as C99 bools are not used anywhere in Smyrna or
in the headers included by viewport.h. However this is a trap waiting to cause
problems if/when C99 bools are used in these files.

cmd/smyrna/viewport.h

index ff2c89bf2973f20dbb8ce6378bf4f6322fdcd3e1..cc7baa2f7ae39d518d822e1787c4e78fe286811e 100644 (file)
@@ -11,7 +11,6 @@
 //view data structure
 #ifndef VIEWPORT_H
 #define VIEWPORT_H
-#define bool int
 #include "smyrnadefs.h"
 #include <gtk/gtk.h>
 #include <xdot/xdot.h>