Replace GNUPG_GCC_A_ macros by GPGRT_ATTR_ macros.
authorWerner Koch <wk@gnupg.org>
Sun, 26 Jul 2015 10:50:16 +0000 (12:50 +0200)
committerWerner Koch <wk@gnupg.org>
Sun, 26 Jul 2015 10:50:24 +0000 (12:50 +0200)
commitd382242fb6789973ce8d246ec154a4a1468c24c0
tree3809b220992ea4e49942a3dec3d7a2f5e96738f6
parentef080d5c7fb7f3b75c3c57c011f78a312b8e13a9
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.
15 files changed:
agent/agent.h
common/asshelp.h
common/audit.c
common/logging.h
common/membuf.h
common/mischelp.h
common/stringhelp.h
common/types.h
common/util.h
dirmngr/ks-engine-ldap.c
dirmngr/ks-engine.h
g10/main.h
g13/g13.h
scd/scdaemon.h
sm/gpgsm.h