summaryrefslogtreecommitdiff
path: root/bmtoa.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-21 15:02:52 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-21 15:07:40 -0700
commitd028190d036f25472dba587863322a8fe03dda95 (patch)
treed5c56d353f63c4d39486121563903d38fa6a5e4a /bmtoa.c
parentf36566239cc9119882a36273c3eefb90962d6ee5 (diff)
Mark usage() functions as noreturn, as suggested by gcc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'bmtoa.c')
-rw-r--r--bmtoa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bmtoa.c b/bmtoa.c
index 6682fe8..0394038 100644
--- a/bmtoa.c
+++ b/bmtoa.c
@@ -53,7 +53,7 @@ static char *ProgramName;
static void print_scanline (unsigned int width, unsigned int height,
unsigned const char *data, const char *chars);
-static void
+static void _X_NORETURN
usage (void)
{
fprintf (stderr, "usage: %s [-options ...] [filename]\n\n%s\n",