shithub: rgbds

Download patch

ref: ef87dd5a6e4158a2d522f6bce2abba5b8ce0df9b
parent: 4f126b37d066539800a34d84296f9f3679fe812a
author: Antonio Niño Díaz <antonio_nd@outlook.com>
date: Tue Apr 3 16:21:00 EDT 2018

rgbasm: Fix declaration of fatalerror()

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>

--- 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 @@
 	va_end(args);
 }
 
-void fatalerror(const char *fmt, ...)
+noreturn_ void fatalerror(const char *fmt, ...)
 {
 	va_list args;