summaryrefslogtreecommitdiff
path: root/inotail.h
diff options
context:
space:
mode:
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 {