diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2006-10-16 22:33:47 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-10-16 22:33:47 +0200 |
commit | 754e5d49b107539e1ddf6e11dd3f2e5c0be21d2d (patch) | |
tree | f4361095ad00989d501e68924cd695df0b6a83e6 | |
parent | 951d457bdeeecc536d14c96143467b1314da9855 (diff) |
inotail.c: Make pretty_name() an inline
-rw-r--r-- | inotail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |