diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-09 23:01:23 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-09 23:01:23 -0700 |
commit | 25454313c637f2b6983ba289deed96141cec8000 (patch) | |
tree | b595b2c4ce194f397047c57db60342c6f30573ba /xcalc.h | |
parent | de0e13ada857191a59c0e8f985d2317a7c41f43b (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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |