libc: Declare wrterror with attribute noreturn
This commit is contained in:
parent
d9494baa34
commit
ca4bb89ea0
|
|
@ -337,7 +337,7 @@ wrtmessage(const char *p1, const char *p2, const char *p3, const char *p4)
|
||||||
void (*_malloc_message)(const char *p1, const char *p2, const char *p3,
|
void (*_malloc_message)(const char *p1, const char *p2, const char *p3,
|
||||||
const char *p4) = wrtmessage;
|
const char *p4) = wrtmessage;
|
||||||
static void
|
static void
|
||||||
wrterror(const char *p)
|
wrterror(const char *p) __attribute__ ((noreturn))
|
||||||
{
|
{
|
||||||
|
|
||||||
suicide = 1;
|
suicide = 1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user