diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-04-16 15:16:10 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-04-16 15:16:10 -0700 |
commit | 8ec9e20ca8025173257770c750a05729c8d91fa0 (patch) | |
tree | d1c6fb76dc7098160bcbc92b1eb50609aba8c9a3 /fslsfonts.c | |
parent | 1195e8cecb25b3b3e64a3ef7cfdc84e65caf57d7 (diff) |
Mark usage() as _X_NORETURN to silence gcc warning
fslsfonts.c: In function ‘usage’:
fslsfonts.c:92:1: warning: function might be possible candidate for attribute ‘noreturn’
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'fslsfonts.c')
-rw-r--r-- | fslsfonts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fslsfonts.c b/fslsfonts.c index 888c9e0..6ff6a2d 100644 --- a/fslsfonts.c +++ b/fslsfonts.c @@ -79,7 +79,7 @@ static FSServer *svr; static char *program_name; -static void usage ( void ); +static void usage ( void ) _X_NORETURN; static void get_list ( const char *pattern ); static int compare ( const void *f1, const void *f2 ); static void show_fonts ( void ); |