From 3e86e8c2e2111528f3169dbb5679480283702179 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 26 Dec 2021 19:02:29 -0800 Subject: [PATCH] gvplugin_list: use a C99 bool for 'new' instead of boolean --- lib/gvc/gvplugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.40.0