From 86061924ff38fc6508f6d4c03dc9d31a5394faf4 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sat, 1 Jul 2006 17:01:00 +0200 Subject: Make bytes_to_offset() an inline --- inotail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3-54-g00ecf