maint: tail: mark a global variable as static
authorJim Meyering <meyering@redhat.com>
Sun, 8 May 2011 13:50:52 +0000 (15:50 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 11 May 2011 15:17:53 +0000 (17:17 +0200)
* src/tail.c [HAVE_INOTIFY] (inotify_wd_mask): Declare static.

src/tail.c

index e6d8164..714e278 100644 (file)
@@ -159,8 +159,8 @@ struct File_spec
 #if HAVE_INOTIFY
 /* The events mask used with inotify on files.  This mask is not used on
    directories.  */
-const uint32_t inotify_wd_mask = (IN_MODIFY | IN_ATTRIB | IN_DELETE_SELF
-                                  | IN_MOVE_SELF);
+static const uint32_t inotify_wd_mask = (IN_MODIFY | IN_ATTRIB
+                                         | IN_DELETE_SELF | IN_MOVE_SELF);
 #endif
 
 /* Keep trying to open a file even if it is inaccessible when tail starts