summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-05-08 15:50:52 +0200
committerJim Meyering <meyering@redhat.com>2011-05-11 17:17:53 +0200
commit2141543a3703cdb29cda41b1562f53f79215959c (patch)
treefc887c9ece90b71ab99c5e05d5e11f83d9ea722e /src
parent73fd918bd0f4417bb800bd569af69fb07ec65e72 (diff)
downloadcoreutils-2141543a3703cdb29cda41b1562f53f79215959c.tar.xz
maint: tail: mark a global variable as static
* src/tail.c [HAVE_INOTIFY] (inotify_wd_mask): Declare static.
Diffstat (limited to 'src')
-rw-r--r--src/tail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tail.c b/src/tail.c
index e6d816432..714e278e4 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -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