From fb63f7543d0e5a79bcd9cc1b4650360267314703 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 7 Sep 2007 12:43:56 +0200 Subject: Rename file_struct members The rationale behind this is to only use the 'st_' prefix for values gotten by calls to fstat() --- inotail.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inotail.h') diff --git a/inotail.h b/inotail.h index f7c1406..c95c4f8 100644 --- a/inotail.h +++ b/inotail.h @@ -19,8 +19,8 @@ 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 */ - off_t st_size; /* File size */ - blksize_t st_blksize; /* Blocksize for filesystem I/O */ + off_t size; /* File size */ + blksize_t blksize; /* Blocksize for filesystem I/O */ unsigned ignore; /* Whether to ignore the file in further processing */ int i_watch; /* Inotify watch associated with file_struct */ }; -- cgit v1.2.3-54-g00ecf