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
|
@ -1404,7 +1404,7 @@ modlist_lookup (LDAPMod **modlist, const char *attr)
|
|||
|
||||
/* Dump a modlist to a file. This is useful for debugging. */
|
||||
static estream_t modlist_dump (LDAPMod **modlist, estream_t output)
|
||||
GNUPG_GCC_A_USED;
|
||||
GPGRT_ATTR_USED;
|
||||
|
||||
static estream_t
|
||||
modlist_dump (LDAPMod **modlist, estream_t output)
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
/*-- ks-action.c --*/
|
||||
gpg_error_t ks_print_help (ctrl_t ctrl, const char *text);
|
||||
gpg_error_t ks_printf_help (ctrl_t ctrl, const char *format,
|
||||
...) GPGRT_GCC_A_PRINTF(2,3);
|
||||
...) GPGRT_ATTR_PRINTF(2,3);
|
||||
|
||||
/*-- ks-engine-hkp.c --*/
|
||||
gpg_error_t ks_hkp_resolve (ctrl_t ctrl, parsed_uri_t uri);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue