From 3f3c581f65d93f68d5dc11a1b22bab6c91170d84 Mon Sep 17 00:00:00 2001 From: keni Date: Tue, 10 Jan 2023 16:55:35 -0500 Subject: [PATCH] make the 2 panic declarations fully match --- src/alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alloc.c b/src/alloc.c index 6f7af2c12..ef3924471 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -34,7 +34,7 @@ static boolean tried_heaplog = FALSE; long *alloc(unsigned int) NONNULL; long *re_alloc(long *, unsigned int) NONNULL; -extern void panic(const char *, ...) NORETURN; +ATTRNORETURN extern void panic(const char *, ...) PRINTF_F(1, 2) NORETURN; long * alloc(unsigned int lth)