From 85ef6f23a7ec036a33b1ae25ee7b0ccd0a499825 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sat, 17 Oct 2026 12:05:35 +0300
Subject: [PATCH 82/82] Make handle_alloc_failure() fc__noreturn

See RM #2336

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 utility/mem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utility/mem.c b/utility/mem.c
index 245d6661a6..38259aabdb 100644
--- a/utility/mem.c
+++ b/utility/mem.c
@@ -35,8 +35,8 @@
   Do whatever we should do when fc_malloc() fails.
   At the moment this just prints a log message and calls exit(EXIT_FAILURE)
 **********************************************************************/
-static void handle_alloc_failure(size_t size, const char *called_as,
-                                 int line, const char *file)
+static void fc__noreturn handle_alloc_failure(size_t size, const char *called_as,
+                                              int line, const char *file)
 {
   log_fatal("Out of memory trying to %s " SIZE_T_PRINTF " bytes at line %d of %s.",
             called_as, size, line, file);
-- 
2.53.0

