diff --git a/include/asm/main.h b/include/asm/main.h index 7eed1df4..77f3e854 100644 --- a/include/asm/main.h +++ b/include/asm/main.h @@ -12,7 +12,7 @@ #include #include -#include "extern/stdnoreturn.h" +#include "helpers.h" struct sOptions { char binary[2]; diff --git a/include/extern/err.h b/include/extern/err.h index aa272a0a..291e20a5 100644 --- a/include/extern/err.h +++ b/include/extern/err.h @@ -17,7 +17,7 @@ #include -#include "extern/stdnoreturn.h" +#include "helpers.h" #define warn rgbds_warn #define vwarn rgbds_vwarn diff --git a/include/extern/stdnoreturn.h b/include/helpers.h similarity index 88% rename from include/extern/stdnoreturn.h rename to include/helpers.h index bd004267..05b1c710 100644 --- a/include/extern/stdnoreturn.h +++ b/include/helpers.h @@ -6,8 +6,8 @@ * SPDX-License-Identifier: MIT */ -#ifndef EXTERN_STDNORETURN_H -#define EXTERN_STDNORETURN_H +#ifndef HELPERS_H +#define HELPERS_H #if defined(__STDC_VERSION__) #if __STDC_VERSION__ >= 201112L @@ -35,4 +35,4 @@ #define noreturn #endif -#endif /* EXTERN_STDNORETURN_H */ +#endif /* HELPERS_H */ diff --git a/include/link/script.h b/include/link/script.h index 8796d3c8..14e9b2f8 100644 --- a/include/link/script.h +++ b/include/link/script.h @@ -11,7 +11,7 @@ #include -#include "extern/stdnoreturn.h" +#include "helpers.h" noreturn void script_fatalerror(const char *fmt, ...);