summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2008-03-01 12:00:59 +0100
committerTobias Klauser <tklauser@xenon.tklauser.home>2008-03-01 12:00:59 +0100
commit66911157cfad3ccb5e24c11c77d3b0ff3252abd3 (patch)
tree0dc7157f041ddc0d6ba556cae6bc71c55bad6ff2 /inotail.c
parente7bbc35c92f98d24088c854eea3f08d94be9c966 (diff)
Move all #define's except PROGRAM_NAME to inotail.h
Diffstat (limited to 'inotail.c')
-rw-r--r--inotail.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/inotail.c b/inotail.c
index 24c1404..c19ed4f 100644
--- a/inotail.c
+++ b/inotail.c
@@ -35,20 +35,14 @@
#include "inotify.h"
#include "inotify-syscalls.h"
-
#include "inotail.h"
#define PROGRAM_NAME "inotail"
-#define DEFAULT_BUFFER_SIZE 4096
-/* inotify event buffer length for one file */
-#define INOTIFY_BUFLEN (4 * sizeof(struct inotify_event))
/* Print header with filename before tailing the file? */
static char verbose = 0;
-
/* Tailing relative to begin or end of file */
static char from_begin = 0;
-
/* Number of ignored files */
static int n_ignored = 0;