summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@xenon.tklauser.home>2006-07-17 18:55:20 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-07-17 18:55:20 +0200
commit9f286218b4644920c97bd44b36c090c6f3110e2d (patch)
tree4664a058935eae10af17a1f66bd025c44312f90f
parente9b9fc223b3686850483d5155c041efae3100c74 (diff)
Clean up header and remove ignore field in file_struct (as not really needed atm)
-rw-r--r--inotail.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/inotail.h b/inotail.h
index c2efbe8..882d78d 100644
--- a/inotail.h
+++ b/inotail.h
@@ -11,24 +11,11 @@ enum { M_LINES, M_BYTES };
struct file_struct {
char *name; /* Name of file (or '-' for stdin) */
int fd; /* File descriptor (or -1 if file is not open */
- int ignore:1; /* Ignore file? */
off_t st_size; /* File size */
- int i_watch; /* Inotify watch associated with file_struct */
+ int i_watch; /* Inotify watch associated with file_struct */
};
-/*
-struct option const long_options[] = {
- {"lines", required_argument, NULL, 'n'},
- {"quiet", no_argument, NULL, 'q'},
- {"silent", no_argument, NULL, 'q'},
- {"verbose", no_argument, NULL, 'v'},
- {"help", no_argument, NULL, 'h'},
- {"version", no_argument, NULL, 'V'},
- {NULL, 0, NULL, 0}
-};
-*/
-
#ifdef DEBUG
#define dprintf(fmt, args...) fprintf(stderr, fmt, ##args)
#else