aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-09-16 05:33:50 +0000
committerNIIBE Yutaka <[email protected]>2022-09-16 05:33:50 +0000
commitd5e29991c0c700d606d4ee4158cfd248bc1d3fd9 (patch)
tree5935fb96bf97ae91d87805c75908c5076ef1d85f /g10/main.h
parentbuild: Use LDAP_DEPRECATED to detect ldap library. (diff)
downloadgnupg-d5e29991c0c700d606d4ee4158cfd248bc1d3fd9.tar.gz
gnupg-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 <[email protected]>
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h
index 0525732f2..74c29cc92 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -87,7 +87,7 @@ struct weakhash
extern int g10_errors_seen;
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
- void g10_exit(int rc) __attribute__ ((noreturn));
+ void g10_exit(int rc) __attribute__ ((__noreturn__));
#else
void g10_exit(int rc);
#endif