From ca4bb89ea02831ecce2ed515ab868c32be99f831 Mon Sep 17 00:00:00 2001 From: Jacob Adams Date: Mon, 25 May 2015 00:17:15 -0400 Subject: [PATCH] libc: Declare wrterror with attribute noreturn --- lib/libc/stdlib/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 5d35e4b41..e1e413325 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -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, const char *p4) = wrtmessage; static void -wrterror(const char *p) +wrterror(const char *p) __attribute__ ((noreturn)) { suicide = 1;