diff options
author | Werner Koch <wk@gnupg.org> | 2015-07-26 12:50:16 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2015-07-26 12:50:24 +0200 |
commit | d382242fb6789973ce8d246ec154a4a1468c24c0 (patch) | |
tree | 3809b220992ea4e49942a3dec3d7a2f5e96738f6 /common/asshelp.h | |
parent | scd: support any curves defined by libgcrypt. (diff) | |
download | gnupg2-d382242fb6789973ce8d246ec154a4a1468c24c0.tar.xz gnupg2-d382242fb6789973ce8d246ec154a4a1468c24c0.zip |
Replace GNUPG_GCC_A_ macros by GPGRT_ATTR_ macros.
* common/util.h: Provide replacement for GPGRT_ATTR_ macros when using
libgpg-error < 1.20.
* common/mischelp.h: Ditto.
* common/types.h: Ditto.
--
Given that libgpg-error is a dependency of all GnuPG related libraries
it is better to define such macros at only one place instead of having
similar macros at a lot of places. For now we need repalcement
macros, though.
Diffstat (limited to 'common/asshelp.h')
-rw-r--r-- | common/asshelp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/asshelp.h b/common/asshelp.h index c685564a6..6a52172f5 100644 --- a/common/asshelp.h +++ b/common/asshelp.h @@ -81,11 +81,11 @@ start_new_dirmngr (assuan_context_t *r_ctx, gpg_error_t print_assuan_status (assuan_context_t ctx, const char *keyword, const char *format, - ...) GPGRT_GCC_A_PRINTF(3,4); + ...) GPGRT_ATTR_PRINTF(3,4); gpg_error_t vprint_assuan_status (assuan_context_t ctx, const char *keyword, const char *format, - va_list arg_ptr) GPGRT_GCC_A_PRINTF(3,0); + va_list arg_ptr) GPGRT_ATTR_PRINTF(3,0); #endif /*GNUPG_COMMON_ASSHELP_H*/ |