From 1b4c9c2d3c5e75ae439c5e2a131e6615ac2916d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 11 Jan 2009 21:51:18 +0000 Subject: [PATCH] use KRB5_DEPRECATED git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24297 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/get_in_tkt.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/krb5/get_in_tkt.c b/lib/krb5/get_in_tkt.c index b82a0547d..e8ff86980 100644 --- a/lib/krb5/get_in_tkt.c +++ b/lib/krb5/get_in_tkt.c @@ -31,13 +31,12 @@ * SUCH DAMAGE. */ +#define KRB5_DEPRECATED + #include "krb5_locl.h" RCSID("$Id$"); -#undef __attribute__ -#define __attribute__(x) - #ifndef HEIMDAL_SMALLER static krb5_error_code @@ -375,7 +374,7 @@ krb5_get_in_cred(krb5_context context, krb5_const_pointer decryptarg, krb5_creds *creds, krb5_kdc_rep *ret_as_reply) - __attribute__((deprecated)) + KRB5_DEPRECATED { krb5_error_code ret; AS_REQ a; @@ -539,8 +538,7 @@ krb5_get_in_tkt(krb5_context context, krb5_const_pointer decryptarg, krb5_creds *creds, krb5_ccache ccache, - krb5_kdc_rep *ret_as_reply) - __attribute__((deprecated)) + krb5_kdc_rep *ret_as_reply) KRB5_DEPRECATED { krb5_error_code ret;