From: Matthew Fernandez Date: Mon, 27 Dec 2021 03:02:29 +0000 (-0800) Subject: gvplugin_list: use a C99 bool for 'new' instead of boolean X-Git-Tag: 3.0.0~91^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e86e8c2e2111528f3169dbb5679480283702179;p=graphviz gvplugin_list: use a C99 bool for 'new' instead of boolean --- diff --git a/lib/gvc/gvplugin.c b/lib/gvc/gvplugin.c index 7ea4614f8..31218fb99 100644 --- a/lib/gvc/gvplugin.c +++ b/lib/gvc/gvplugin.c @@ -353,7 +353,7 @@ char *gvplugin_list(GVC_t * gvc, api_t api, const char *str) const gvplugin_available_t *pnext, *plugin; char *bp; char *s, *p, *q, *typestr_last; - boolean new = TRUE; + bool new = true; static agxbuf xb; /* check for valid str */ @@ -384,7 +384,7 @@ char *gvplugin_list(GVC_t * gvc, api_t api, const char *str) if (!s[0] || strcasecmp(s, q) == 0) { /* list each member of the matching type as "type:path" */ agxbprint(&xb, " %s:%s", pnext->typestr, pnext->package->name); - new = FALSE; + new = false; } free(q); } @@ -401,7 +401,7 @@ char *gvplugin_list(GVC_t * gvc, api_t api, const char *str) if (!typestr_last || strcasecmp(typestr_last, q) != 0) { /* list it as "type" i.e. w/o ":path" */ agxbprint(&xb, " %s", q); - new = FALSE; + new = false; } free(typestr_last); typestr_last = q;