mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 03:11:52 +01:00
while i'm breaking stuff, use __dead2 instead of GCC specific __attribute__.
This commit is contained in:
parent
2f75a283e0
commit
2864dba864
@ -35,8 +35,7 @@ static const char rcsid[] =
|
||||
#else
|
||||
#include <locale.h>
|
||||
|
||||
static void error(const char *, ...) __attribute__((__noreturn__))
|
||||
__printf0like(1, 2);
|
||||
static void error(const char *, ...) __dead2 __printf0like(1, 2);
|
||||
|
||||
static void
|
||||
error(const char *msg, ...)
|
||||
|
Loading…
Reference in New Issue
Block a user