Fix build with gcc 6

gcc want _Noreturn to be the first thing in declaration.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2018-12-25 14:55:01 +00:00
parent 311fa65840
commit 86e744345e
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ static inline double attr_const normalize_d(double d) {
return normalize_d_range(d, 0.0, 1.0); return normalize_d_range(d, 0.0, 1.0);
} }
void attr_noret report_allocation_failure(const char *func, const char *file, attr_noret void report_allocation_failure(const char *func, const char *file,
unsigned int line); unsigned int line);
/** /**