summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@xenon.tklauser.home>2006-07-09 12:00:48 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-07-09 12:00:48 +0200
commitd24370320c83587237ce7018c49f68f5e28d4c18 (patch)
treecd91ebc088046d8256f0343f8692d08f5477a855
parent7abe100bb074ab8b580e93c52a26eaa7f6628107 (diff)
Reorder includes, make verbose char instead of short
-rw-r--r--inotail.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/inotail.c b/inotail.c
index 1a923d3..52f91ae 100644
--- a/inotail.c
+++ b/inotail.c
@@ -23,14 +23,14 @@
#define _GNU_SOURCE
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
+#include <fcntl.h>
#include <errno.h>
-#include <string.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include "inotify.h"
#include "inotify-syscalls.h"
@@ -42,7 +42,7 @@
#define BUFFER_SIZE 4096
/* Print header with filename before tailing the file? */
-static short verbose = 0;
+static char verbose = 0;
static void usage(void)
{