summaryrefslogtreecommitdiffstats
path: root/g13/g13.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-07-26 12:50:16 +0200
committerWerner Koch <wk@gnupg.org>2015-07-26 12:50:24 +0200
commitd382242fb6789973ce8d246ec154a4a1468c24c0 (patch)
tree3809b220992ea4e49942a3dec3d7a2f5e96738f6 /g13/g13.h
parentscd: support any curves defined by libgcrypt. (diff)
downloadgnupg2-d382242fb6789973ce8d246ec154a4a1468c24c0.tar.xz
gnupg2-d382242fb6789973ce8d246ec154a4a1468c24c0.zip
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.
Diffstat (limited to 'g13/g13.h')
-rw-r--r--g13/g13.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/g13/g13.h b/g13/g13.h
index 371833d84..c7668132d 100644
--- a/g13/g13.h
+++ b/g13/g13.h
@@ -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*/