diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-16 14:37:55 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-16 14:39:05 +0900 |
commit | 000c50e0781920d691cc60c345a7bd4d770e92d5 (patch) | |
tree | ac484f7bb293e923c80727c7d7d30040cf043ee1 /doc/yat2m.c | |
parent | 37dc9f8fd00a3aff175f34f094557899207d7ef8 (diff) | |
download | libgcrypt-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/yat2m.c')
-rw-r--r-- | doc/yat2m.c | 2 |
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) |