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 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;
}