diff options
author | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-07-01 17:01:00 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-07-01 17:01:00 +0200 |
commit | 86061924ff38fc6508f6d4c03dc9d31a5394faf4 (patch) | |
tree | 19a65ca97ac551082ee2e41889d849d6c7372295 | |
parent | 69875c552d0554e2d33c8b9b56b16b3c9ddc8fec (diff) |
Make bytes_to_offset() an inline
-rw-r--r-- | inotail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ static off_t lines_to_offset(int fd, int file_size, unsigned int n_lines) return offset; } -static off_t bytes_to_offset(int fd, int file_size, unsigned int n_lines) +static inline off_t bytes_to_offset(int fd, int file_size, unsigned int n_lines) { return (file_size - n_lines); } |