From ef87dd5a6e4158a2d522f6bce2abba5b8ce0df9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ni=C3=B1o=20D=C3=ADaz?= Date: Tue, 3 Apr 2018 20:21:00 +0100 Subject: [PATCH] rgbasm: Fix declaration of fatalerror() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Antonio Niño Díaz --- src/asm/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/asm/main.c b/src/asm/main.c index 4be82181..f538d5f7 100644 --- a/src/asm/main.c +++ b/src/asm/main.c @@ -24,6 +24,7 @@ #include "extern/err.h" +#include "helpers.h" #include "version.h" extern int yyparse(void); @@ -254,7 +255,7 @@ void yyerror(const char *fmt, ...) va_end(args); } -void fatalerror(const char *fmt, ...) +noreturn_ void fatalerror(const char *fmt, ...) { va_list args;