From 754e5d49b107539e1ddf6e11dd3f2e5c0be21d2d Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 16 Oct 2006 22:33:47 +0200 Subject: inotail.c: Make pretty_name() an inline --- inotail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotail.c b/inotail.c index cd956d3..59e9b47 100644 --- a/inotail.c +++ b/inotail.c @@ -79,7 +79,7 @@ static void setup_file(struct file_struct *f) f->i_watch = -1; } -static char *pretty_name(char *filename) +static inline char *pretty_name(char *filename) { return (strncmp(filename, "-", 1) == 0) ? "standard input" : filename; } -- cgit v1.2.3-54-g00ecf