shithub: rgbds

Download patch

ref: 547abfefc1bcc45a906329c51f180de703d1ced9
parent: 06f0472f81600459cbe5ae74d7a5253523fd2fc2
parent: defd4f589e0553da304a66d0a8dcad0f3a1ee98c
author: Anthony J. Bentley <[email protected]>
date: Tue Jan 24 19:47:25 EST 2017

Merge branch 'fatal-error-noreturn' of https://github.com/Ben10do/rgbds

--- a/include/asm/main.h
+++ b/include/asm/main.h
@@ -2,6 +2,7 @@
 #define	RGBDS_MAIN_H
 
 #include <stdbool.h>
+#include "extern/stdnoreturn.h"
 
 struct sOptions {
 	char gbgfx[4];
@@ -24,7 +25,7 @@
 extern void opt_Pop(void);
 extern void opt_Parse(char *s);
 
-void fatalerror(const char *fmt, ...);
+noreturn void fatalerror(const char *fmt, ...);
 void yyerror(const char *fmt, ...);
 
 #define	YY_FATAL_ERROR fatalerror