mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Specify _Noreturn in the err family prototypes.
This commit is contained in:
8
include/extern/err.h
vendored
8
include/extern/err.h
vendored
@@ -49,10 +49,10 @@ void vwarn(const char *, va_list);
|
|||||||
void warnx(const char *, ...);
|
void warnx(const char *, ...);
|
||||||
void vwarnx(const char *, va_list);
|
void vwarnx(const char *, va_list);
|
||||||
|
|
||||||
void err(int, const char *, ...);
|
_Noreturn void err(int, const char *, ...);
|
||||||
void verr(int, const char *, va_list);
|
_Noreturn void verr(int, const char *, va_list);
|
||||||
void errx(int, const char *, ...);
|
_Noreturn void errx(int, const char *, ...);
|
||||||
void verrx(int, const char *, va_list);
|
_Noreturn void verrx(int, const char *, va_list);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user