summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-09-16 14:37:55 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2022-09-16 14:39:05 +0900
commit000c50e0781920d691cc60c345a7bd4d770e92d5 (patch)
treeac484f7bb293e923c80727c7d7d30040cf043ee1 /doc
parent37dc9f8fd00a3aff175f34f094557899207d7ef8 (diff)
downloadlibgcrypt-000c50e0781920d691cc60c345a7bd4d770e92d5.tar.gz
Fix use of noreturn.
* doc/yat2m.c: Use __noreturn__. * src/g10lib.h: Likewise. -- GnuPG-bug-id: 4002 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/yat2m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/yat2m.c b/doc/yat2m.c
index 8c05ad86..c2806e39 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)