diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-04-21 15:02:52 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-04-21 15:07:40 -0700 |
commit | d028190d036f25472dba587863322a8fe03dda95 (patch) | |
tree | d5c56d353f63c4d39486121563903d38fa6a5e4a /atobm.c | |
parent | f36566239cc9119882a36273c3eefb90962d6ee5 (diff) |
Mark usage() functions as noreturn, as suggested by gcc
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'atobm.c')
-rw-r--r-- | atobm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,6 +34,7 @@ from The Open Group. #include <stdio.h> #include <ctype.h> #include <X11/Xos.h> +#include <X11/Xfuncproto.h> #include <stdlib.h> static char *ProgramName; @@ -41,7 +42,7 @@ static char *ProgramName; static void doit(FILE *fp, const char *filename, const char *chars, int xhot, int yhot, const char *name); -static void +static void _X_NORETURN usage (void) { fprintf (stderr, "usage: %s [-options ...] [filename]\n\n%s\n", |