diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2011-02-07 11:14:52 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2011-02-07 11:14:52 +0100 |
commit | 38515e5027712d443e3f18cf8525af902372fe8a (patch) | |
tree | 11c218aa3cd325a8a1c4e3fec247341731f0286e /inotail.c | |
parent | 9b1d91488f6b5c72b650bccf8ac7e2b668c69da7 (diff) |
Add __noreturn attribute, update copyright
Diffstat (limited to 'inotail.c')
-rw-r--r-- | inotail.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3,7 +3,9 @@ * A fast implementation of tail which uses the inotify API present in * recent versions of the Linux kernel. * - * Copyright (C) 2005-2009, Tobias Klauser <tklauser@distanz.ch> + * More information on http://distanz.ch/inotail + * + * Copyright (C) 2005-2011, Tobias Klauser <tklauser@distanz.ch> * * The idea was taken from turbotail. * @@ -96,7 +98,7 @@ static inline int xargmatch(const char *context, const char *arg) return (strlen(arg) == ctx_len && strncmp(arg, context, ctx_len) == 0); } -static void usage(const int status) +static void __noreturn usage(const int status) { fprintf(stdout, "Usage: %s [OPTION]... [FILE]...\n\n" " --retry keep trying to open a file even if it is not\n" |