mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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
|
@ -106,7 +106,7 @@ void g13_exit (int rc);
|
|||
void g13_init_default_ctrl (struct server_control_s *ctrl);
|
||||
|
||||
/*-- server.c (commonly used, thus declared here) --*/
|
||||
gpg_error_t g13_status (ctrl_t ctrl, int no, ...) GNUPG_GCC_A_SENTINEL(0);
|
||||
gpg_error_t g13_status (ctrl_t ctrl, int no, ...) GPGRT_ATTR_SENTINEL(0);
|
||||
|
||||
|
||||
#endif /*G13_H*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue