diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-16 07:33:50 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-16 07:33:50 +0200 |
commit | d5e29991c0c700d606d4ee4158cfd248bc1d3fd9 (patch) | |
tree | 5935fb96bf97ae91d87805c75908c5076ef1d85f /doc | |
parent | build: Use LDAP_DEPRECATED to detect ldap library. (diff) | |
download | gnupg2-d5e29991c0c700d606d4ee4158cfd248bc1d3fd9.tar.xz gnupg2-d5e29991c0c700d606d4ee4158cfd248bc1d3fd9.zip |
dirmngr:dns,doc,gpg: Fix for noreturn for C11.
* dirmngr/dns.c: Use __noreturn__.
* doc/yat2m.c: Likewise.
* g10/main.h: Likewise.
--
GnuPG-bug-id: 4002
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'doc')
-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 2d6f54ea2..9ba950dcf 100644 --- a/doc/yat2m.c +++ b/doc/yat2m.c @@ -120,7 +120,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) |