summaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/g10lib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/g10lib.h b/src/g10lib.h
index eff6295f..6be0ab21 100644
--- a/src/g10lib.h
+++ b/src/g10lib.h
@@ -46,10 +46,10 @@
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
#define JNLIB_GCC_M_FUNCTION 1
-#define JNLIB_GCC_A_NR __attribute__ ((noreturn))
+#define JNLIB_GCC_A_NR __attribute__ ((__noreturn__))
#define JNLIB_GCC_A_PRINTF( f, a ) __attribute__ ((format (printf,f,a)))
#define JNLIB_GCC_A_NR_PRINTF( f, a ) \
- __attribute__ ((noreturn, format (printf,f,a)))
+ __attribute__ ((__noreturn__, format (printf,f,a)))
#define GCC_ATTR_NORETURN __attribute__ ((__noreturn__))
#else
#define JNLIB_GCC_A_NR