summaryrefslogtreecommitdiff
path: root/xfd.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-16 11:00:38 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-16 11:02:34 -0700
commit2ffeff68a6774675b1741655fa7a22c7af93c2ac (patch)
tree5a1c6ae730a7781c49a67188c8612c0eaf75473b /xfd.c
parent122fa8689837bc5a5166432609f351c200a17ef6 (diff)
Mark usage() as _X_NORETURN _X_COLD
Raises minimum xproto requirement to 7.0.25 from Nov. 2013 to get the _X_COLD definition in <X11/Xfuncproto.h> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xfd.c')
-rw-r--r--xfd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfd.c b/xfd.c
index 14f0e4a..7df3ae5 100644
--- a/xfd.c
+++ b/xfd.c
@@ -30,6 +30,7 @@ in this Software without prior written authorization from The Open Group.
# include "config.h"
#endif
+#include <X11/Xfuncproto.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Xos.h>
@@ -69,7 +70,7 @@ static XrmOptionDescRec xfd_options[] = {
{"-columns", "*grid.cellColumns", XrmoptionSepArg, (caddr_t) NULL },
};
-static void usage(void);
+static void usage(void) _X_NORETURN _X_COLD;
static void SelectChar(Widget w, XtPointer closure, XtPointer data);
static void do_quit(Widget w, XEvent *event, String *params,
Cardinal *num_params) _X_NORETURN;