summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inotail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inotail.c b/inotail.c
index fadee12..d771f1d 100644
--- a/inotail.c
+++ b/inotail.c
@@ -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);
}