summaryrefslogtreecommitdiff
path: root/xmore.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-09-26 17:32:10 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-09-26 17:39:05 -0700
commit38c72bc8abf651cbc0ebffcc0d0da10d0bcaf7a5 (patch)
tree5134bd32a56c8a2c2f196605d12b3a2c1b8991be /xmore.c
parent76bf671666c5d5626287788df4e1e5ea9be7dbb2 (diff)
Handle clang -Wmissing-noreturn warning
xmore.c:137:1: warning: function 'usage' could be declared with attribute 'noreturn' [-Wmissing-noreturn] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xmore.c')
-rw-r--r--xmore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmore.c b/xmore.c
index f2f00c4..7d508ed 100644
--- a/xmore.c
+++ b/xmore.c
@@ -132,6 +132,7 @@ quitXtProc(Widget w, XtPointer client_data, XtPointer callData)
XtCallActionProc(w, "quit", NULL, NULL, 0);
}
+_X_NORETURN _X_COLD
static void
usage(FILE *out, int exitval)
{