aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-09-15 06:23:56 +0000
committerNIIBE Yutaka <[email protected]>2022-09-15 06:23:56 +0000
commita86ad1cbb6bd83cb30ab87f5ad1c70077288a8da (patch)
treece74475db67eccf6f7297e3a3033d55265790d96
parentRemove extra semicolons. (diff)
downloadlibgpg-error-a86ad1cbb6bd83cb30ab87f5ad1c70077288a8da.tar.gz
libgpg-error-a86ad1cbb6bd83cb30ab87f5ad1c70077288a8da.zip
yat2m: Use __noreturn__ attribute.
* doc/yat2m.c (ATTR_NR_PRINTF): Use __noreturn__. -- GnuPG-bug-id: 4002 Signed-off-by: NIIBE Yutaka <[email protected]>
-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)