summaryrefslogtreecommitdiff
path: root/xcalc.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 23:01:23 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-09 23:01:23 -0700
commit25454313c637f2b6983ba289deed96141cec8000 (patch)
treeb595b2c4ce194f397047c57db60342c6f30573ba /xcalc.h
parentde0e13ada857191a59c0e8f985d2317a7c41f43b (diff)
Mark functions noreturn as suggested by gcc -Wmissing-noreturn
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xcalc.h')
-rw-r--r--xcalc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xcalc.h b/xcalc.h
index bb6920d..1924bf7 100644
--- a/xcalc.h
+++ b/xcalc.h
@@ -122,8 +122,8 @@ extern XtActionsRec Actions[];
extern int ActionsCount;
/* math.c */
-extern signal_t fperr(int sig);
-extern signal_t illerr(int sig);
+extern signal_t fperr(int sig) _X_NORETURN;
+extern signal_t illerr(int sig) _X_NORETURN;
extern void fail_op(void);
extern int pre_op(int keynum);
extern void post_op(void);
@@ -155,7 +155,7 @@ extern jmp_buf env;
/* xcalc.c */
extern void do_select(Time time);
extern void draw(char *string);
-extern void Quit(void);
+extern void Quit(void) _X_NORETURN;
extern void ringbell(void);
extern void setflag(int indicator, Boolean on);