diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-15 15:23:56 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-15 15:23:56 +0900 |
commit | a86ad1cbb6bd83cb30ab87f5ad1c70077288a8da (patch) | |
tree | ce74475db67eccf6f7297e3a3033d55265790d96 /doc/yat2m.c | |
parent | 6f103890e9728072e1c9c1e0a1d7f87220d8eecc (diff) | |
download | libgpg-error-a86ad1cbb6bd83cb30ab87f5ad1c70077288a8da.tar.gz |
yat2m: Use __noreturn__ attribute.
* doc/yat2m.c (ATTR_NR_PRINTF): Use __noreturn__.
--
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 8c05ad8..c2806e3 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) |