From 87305064b4f53bb93d75083ff4e295717fe070aa Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 24 Oct 2021 11:02:25 -0700 Subject: [PATCH] xlib_finalize: swap a boolean for a C99 bool for 'watching_file_p' --- plugin/xlib/gvdevice_xlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/xlib/gvdevice_xlib.c b/plugin/xlib/gvdevice_xlib.c index b17022161..92b0d78bd 100644 --- a/plugin/xlib/gvdevice_xlib.c +++ b/plugin/xlib/gvdevice_xlib.c @@ -501,7 +501,7 @@ static void xlib_finalize(GVJ_t *firstjob) #ifdef HAVE_SYS_INOTIFY_H int wd=0; int inotify_fd=0; - boolean watching_file_p = FALSE; + bool watching_file_p = false; static char *dir; char *p, *cwd = NULL; @@ -522,7 +522,7 @@ static void xlib_finalize(GVJ_t *firstjob) if (firstjob->input_filename) { if (firstjob->graph_index == 0) { #ifdef HAVE_SYS_INOTIFY_H - watching_file_p = TRUE; + watching_file_p = true; if (firstjob->input_filename[0] != '/') { cwd = getcwd(NULL, 0); -- 2.40.0