summaryrefslogtreecommitdiff
path: root/atobm.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 /atobm.c
parentf36566239cc9119882a36273c3eefb90962d6ee5 (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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/atobm.c b/atobm.c
index 93d7b12..040fecb 100644
--- a/atobm.c
+++ b/atobm.c
@@ -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",