]> granicus.if.org Git - graphviz/commitdiff
xlib_finalize: swap a boolean for a C99 bool for 'watching_file_p'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 24 Oct 2021 18:02:25 +0000 (11:02 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 30 Oct 2021 19:26:19 +0000 (12:26 -0700)
plugin/xlib/gvdevice_xlib.c

index b17022161f0606a55ef33ab85c619f3e479b9e14..92b0d78bd4436e08d6c21d29431f5cdeb39cbb29 100644 (file)
@@ -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);