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
|
@ -182,7 +182,7 @@ void write_status_error (const char *where, gpg_error_t err);
|
|||
void write_status_errcode (const char *where, int errcode);
|
||||
void write_status_text ( int no, const char *text );
|
||||
void write_status_strings (int no, const char *text,
|
||||
...) GNUPG_GCC_A_SENTINEL(0);
|
||||
...) GPGRT_ATTR_SENTINEL(0);
|
||||
void write_status_buffer ( int no,
|
||||
const char *buffer, size_t len, int wrap );
|
||||
void write_status_text_and_buffer ( int no, const char *text,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue