From: Matthew Fernandez Date: Sun, 5 Dec 2021 19:38:05 +0000 (-0800) Subject: strdup_and_subst_obj0: [nfc] use a C99 bool for 'has_hp' instead of boolean X-Git-Tag: 3.0.0~137^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=702c2cce5a3beca477df04c7ce6b2f8b650a6a0a;p=graphviz strdup_and_subst_obj0: [nfc] use a C99 bool for 'has_hp' instead of boolean --- diff --git a/lib/common/labels.c b/lib/common/labels.c index f1002f85b..f00eaea91 100644 --- a/lib/common/labels.c +++ b/lib/common/labels.c @@ -12,6 +12,7 @@ #include #include #include +#include static char *strdup_and_subst_obj0 (char *str, void *obj, int escBackslash); @@ -289,7 +290,7 @@ static char *strdup_and_subst_obj0 (char *str, void *obj, int escBackslash) char *tp_str = "", *hp_str = ""; char *g_str = "\\G", *n_str = "\\N", *e_str = "\\E", *h_str = "\\H", *t_str = "\\T", *l_str = "\\L"; - boolean has_hp = FALSE; + bool has_hp = false; boolean has_tp = FALSE; int isEdge = 0; textlabel_t *tl;