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