]> granicus.if.org Git - graphviz/commitdiff
Re-do some .h files to limit exposure of internal values, .h files,
authorerg <devnull@localhost>
Thu, 7 Dec 2006 22:49:35 +0000 (22:49 +0000)
committererg <devnull@localhost>
Thu, 7 Dec 2006 22:49:35 +0000 (22:49 +0000)
and dependencies on config.h; return to a simple, concrete boolean type

lib/common/hpglgen.c

index 2636592427d0a2d54af541e1978b062b6bd710ee..6794fb34b16011d25064ca4cebbf8a49d259b9eb 100644 (file)
@@ -59,7 +59,7 @@ static char *Sep = ";";
 static int PageWidth;          /* Width of page, in points. */
 static char *prefix;           /* Machine-dependent prefix and suffix */
 static char *suffix;
-/* static bool onetime = TRUE; */
+/* static boolean      onetime = TRUE; */
 
 #define MAXLINELEN   80
 static int bufcnt;             /* Number of characters output on current line */
@@ -824,9 +824,9 @@ static void hpgl_polyline(point * A, int n)
     output(buffer);
 }
 
-static void hpgl_usershape(usershape_t *us, boxf p, point *A, int n, bool filled)
+static void hpgl_usershape(usershape_t *us, boxf p, point *A, int n, boolean filled)
 {
-    static bool onetime = TRUE;
+    static boolean onetime = TRUE;
     if (onetime) {
        agerr(AGERR, "custom shapes not available with this driver\n");
        onetime = FALSE;