use KRB5_DEPRECATED

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24291 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-01-11 21:50:20 +00:00
parent 053dcbaddb
commit 2ac46110b6

View File

@@ -35,8 +35,8 @@
RCSID("$Id$"); RCSID("$Id$");
#undef __attribute__ #undef KRB5_DEPRECATED
#define __attribute__(X) #define KRB5_DEPRECATED
/** /**
* Clears the error message from the Kerberos 5 context. * Clears the error message from the Kerberos 5 context.
@@ -216,7 +216,7 @@ krb5_free_error_message(krb5_context context, const char *msg)
void KRB5_LIB_FUNCTION void KRB5_LIB_FUNCTION
krb5_free_error_string(krb5_context context, char *str) krb5_free_error_string(krb5_context context, char *str)
__attribute__((deprecated)) KRB5_DEPRECATED
{ {
krb5_free_error_message(context, str); krb5_free_error_message(context, str);
} }
@@ -272,7 +272,7 @@ krb5_vset_error_string(krb5_context context, const char *fmt, va_list args)
void KRB5_LIB_FUNCTION void KRB5_LIB_FUNCTION
krb5_clear_error_string(krb5_context context) krb5_clear_error_string(krb5_context context)
__attribute__((deprecated)) KRB5_DEPRECATED
{ {
return krb5_clear_error_message(context); return krb5_clear_error_message(context);
} }