mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
This commit is contained in:
parent
ddc6f7d194
commit
d5e29991c0
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue