From: Matthew Fernandez Date: Wed, 15 Dec 2021 15:12:59 +0000 (-0800) Subject: gvconfig_libdir: [nfc] use a C99 bool instead of boolean for 'dirShown' X-Git-Tag: 3.0.0~124^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29a38846cce608096ce92a63b2b600624a392a07;p=graphviz gvconfig_libdir: [nfc] use a C99 bool instead of boolean for 'dirShown' --- diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c index 7072d9957..65ec0593c 100644 --- a/lib/gvc/gvconfig.c +++ b/lib/gvc/gvconfig.c @@ -286,7 +286,7 @@ char * gvconfig_libdir(GVC_t * gvc) { static char line[BSZ]; static char *libdir; - static boolean dirShown = 0; + static bool dirShown = false; if (!libdir) { libdir=getenv("GVBINDIR"); @@ -376,7 +376,7 @@ char * gvconfig_libdir(GVC_t * gvc) } if (gvc->common.verbose && !dirShown) { fprintf (stderr, "libdir = \"%s\"\n", (libdir ? libdir : "")); - dirShown = 1; + dirShown = true; } return libdir; }