From: John Boyle Date: Thu, 8 Jun 2017 16:05:38 +0000 (-0700) Subject: Reassure compiler ("control may reach end of non-void function") X-Git-Tag: 1.1~492 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=dbe2acd864bf92983f05fc8c308846dcef1df576;p=open-adventure.git Reassure compiler ("control may reach end of non-void function") --- diff --git a/advent.h b/advent.h index 3e20815..e33d66a 100644 --- a/advent.h +++ b/advent.h @@ -120,7 +120,7 @@ extern long ATDWRF(long); extern long SETBIT(long); extern bool TSTBIT(long,int); extern long RNDVOC(long,long); -extern void BUG(long); +extern void BUG(long) __attribute__((noreturn)); extern void MAPLIN(FILE *); extern void TYPE(void); extern void MPINIT(void);