mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Merge branch 'fatal-error-noreturn' of https://github.com/Ben10do/rgbds
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#define RGBDS_MAIN_H
|
#define RGBDS_MAIN_H
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include "extern/stdnoreturn.h"
|
||||||
|
|
||||||
struct sOptions {
|
struct sOptions {
|
||||||
char gbgfx[4];
|
char gbgfx[4];
|
||||||
@@ -24,7 +25,7 @@ extern void opt_Push(void);
|
|||||||
extern void opt_Pop(void);
|
extern void opt_Pop(void);
|
||||||
extern void opt_Parse(char *s);
|
extern void opt_Parse(char *s);
|
||||||
|
|
||||||
void fatalerror(const char *fmt, ...);
|
noreturn void fatalerror(const char *fmt, ...);
|
||||||
void yyerror(const char *fmt, ...);
|
void yyerror(const char *fmt, ...);
|
||||||
|
|
||||||
#define YY_FATAL_ERROR fatalerror
|
#define YY_FATAL_ERROR fatalerror
|
||||||
|
|||||||
Reference in New Issue
Block a user