summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2006-10-16 22:33:47 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-10-16 22:33:47 +0200
commit754e5d49b107539e1ddf6e11dd3f2e5c0be21d2d (patch)
treef4361095ad00989d501e68924cd695df0b6a83e6 /inotail.c
parent951d457bdeeecc536d14c96143467b1314da9855 (diff)
inotail.c: Make pretty_name() an inline
Diffstat (limited to 'inotail.c')
-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;
}