From: Matthew Fernandez Date: Mon, 27 Dec 2021 03:08:46 +0000 (-0800) Subject: glitz_finalize: use a C99 bool for 'watching_p' instead of a boolean X-Git-Tag: 3.0.0~91^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c220279ed41185b4f59b2e796f448fb90688ab85;p=graphviz glitz_finalize: use a C99 bool for 'watching_p' instead of a boolean --- diff --git a/plugin/glitz/gvdevice_glitz.c b/plugin/glitz/gvdevice_glitz.c index fd912a33d..f00162bde 100644 --- a/plugin/glitz/gvdevice_glitz.c +++ b/plugin/glitz/gvdevice_glitz.c @@ -10,6 +10,7 @@ #include "config.h" +#include #include #include #include @@ -481,7 +482,7 @@ static void glitz_finalize(GVJ_t *firstjob) struct timeval timeout; #ifdef HAVE_SYS_INOTIFY_H int wd=0; - boolean watching_p = FALSE; + bool watching_p = false; static char *dir; char *p, *cwd = NULL; @@ -494,7 +495,7 @@ static void glitz_finalize(GVJ_t *firstjob) /* test that we have access to the input filename */ if (firstjob->input_filename && firstjob->graph_index == 0) { - watching_p = TRUE; + watching_p = true; if (firstjob->input_filename[0] != '/') { cwd = getcwd(NULL, 0);