more ATTNORETURN
A recent commit to alloc.c by Keni drew attention to the fact that there are extern prototypes scattered around in various .c files. Those can make use of ATTRNORETURN (non-gcc compilers and C23) the same way the prototypes in extern.h can, and they were overlooked when ATTRNORETURN was first added.
This commit is contained in:
@@ -179,9 +179,9 @@ unsigned FITSuint_(unsigned long long, const char *, int);
|
||||
|
||||
#include "../src/mdlib.c"
|
||||
|
||||
static void makedefs_exit(int) NORETURN;
|
||||
ATTRNORETURN static void makedefs_exit(int) NORETURN;
|
||||
|
||||
static void
|
||||
ATTRNORETURN static void
|
||||
makedefs_exit(int how)
|
||||
{
|
||||
#if 0 /* makedefs doesn't need to do this */
|
||||
|
||||
Reference in New Issue
Block a user