From 197963fba31cc8e5ce9c338ca0a69cee3d997adb Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 20 Oct 2022 11:18:27 +0200 Subject: [PATCH] std-aux: add _nm_noreturn macro --- src/libnm-std-aux/nm-std-aux.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libnm-std-aux/nm-std-aux.h b/src/libnm-std-aux/nm-std-aux.h index 96e379926f..aad8931207 100644 --- a/src/libnm-std-aux/nm-std-aux.h +++ b/src/libnm-std-aux/nm-std-aux.h @@ -20,6 +20,7 @@ #define _nm_used __attribute__((__used__)) #define _nm_pure __attribute__((__pure__)) #define _nm_const __attribute__((__const__)) +#define _nm_noreturn __attribute__((__noreturn__)) #define _nm_warn_unused_result __attribute__((__warn_unused_result__)) #define _nm_printf(a, b) __attribute__((__format__(__printf__, a, b))) #define _nm_align(s) __attribute__((__aligned__(s)))