summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-09-15 15:23:56 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2022-09-15 15:23:56 +0900
commita86ad1cbb6bd83cb30ab87f5ad1c70077288a8da (patch)
treece74475db67eccf6f7297e3a3033d55265790d96
parent6f103890e9728072e1c9c1e0a1d7f87220d8eecc (diff)
downloadlibgpg-error-a86ad1cbb6bd83cb30ab87f5ad1c70077288a8da.tar.gz
yat2m: Use __noreturn__ attribute.
* doc/yat2m.c (ATTR_NR_PRINTF): Use __noreturn__. -- GnuPG-bug-id: 4002 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r--doc/yat2m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/yat2m.c b/doc/yat2m.c
index 8c05ad8..c2806e3 100644
--- a/doc/yat2m.c
+++ b/doc/yat2m.c
@@ -114,7 +114,7 @@
#if MY_GCC_VERSION >= 20500
# define ATTR_PRINTF(f, a) __attribute__ ((format(printf,f,a)))
-# define ATTR_NR_PRINTF(f, a) __attribute__ ((noreturn, format(printf,f,a)))
+# define ATTR_NR_PRINTF(f, a) __attribute__ ((__noreturn__, format(printf,f,a)))
#else
# define ATTR_PRINTF(f, a)
# define ATTR_NR_PRINTF(f, a)