summaryrefslogtreecommitdiff
path: root/xfd.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-17 10:25:18 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-17 10:25:18 -0800
commit7e5c3cdddeee730dff2b464de558954344d55892 (patch)
treed41266ab866a2701f26340792ffba628f3ef487c /xfd.c
parent78ee6607ca35319c4785c5c48f7eed618e56d7d0 (diff)
Mark do_quit as noreturn, as suggested by gcc & clang
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xfd.c')
-rw-r--r--xfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfd.c b/xfd.c
index 18f262f..3ffd84a 100644
--- a/xfd.c
+++ b/xfd.c
@@ -72,7 +72,7 @@ static XrmOptionDescRec xfd_options[] = {
static void usage(void);
static void SelectChar(Widget w, XtPointer closure, XtPointer data);
static void do_quit(Widget w, XEvent *event, String *params,
- Cardinal *num_params);
+ Cardinal *num_params) _X_NORETURN;
static void change_page(int page);
static void set_button_state(void);
static void do_prev(Widget w, XEvent *event, String *params,