From 29a38846cce608096ce92a63b2b600624a392a07 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 15 Dec 2021 07:12:59 -0800 Subject: [PATCH] gvconfig_libdir: [nfc] use a C99 bool instead of boolean for 'dirShown' --- lib/gvc/gvconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.40.0