summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-09-25 23:57:13 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-09-25 23:57:13 +0200
commit509c2d4c2f2cc311987e841423e16fa2fa3dde71 (patch)
treef848855f15d5c775e0fdac7bae3b0c85bfb49d5a /inotail.h
parentb84473c7a0d4eea056c75ef922f48864865b98ef (diff)
inotail.c: typdef mode_t
Diffstat (limited to 'inotail.h')
-rw-r--r--inotail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inotail.h b/inotail.h
index c95c4f8..aa2a0fa 100644
--- a/inotail.h
+++ b/inotail.h
@@ -13,7 +13,7 @@
#define DEFAULT_N_LINES 10
/* tail modes */
-enum { M_LINES, M_BYTES };
+typedef enum { M_LINES, M_BYTES } mode_t;
/* Every tailed file is represented as a file_struct */
struct file_struct {