Commit 93234a5
committed
Fix potential conflict of __attribute__((noreturn))
If <stdnoreturn.h> is included first, then noreturn is defined to
_Noreturn, and then __attribute__((noreturn)) will end up being
__attribute__((_Noreturn)), which would not be recognized and might
result in a compiler warning. To avoid this, use the alternative
spelling __attribute__((__noreturn__)) instead. This is supported by
the same compiler versions.1 parent aed235e commit 93234a5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
| 441 | + | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| |||
0 commit comments