use KRB5_DEPRECATED

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

View File

@@ -35,15 +35,15 @@
RCSID("$Id$");
#undef __attribute__
#define __attribute__(X)
#undef KRB5_DEPRECATED
#define KRB5_DEPRECATED
#ifndef HEIMDAL_SMALLER
/* keep this for compatibility with older code */
krb5_error_code KRB5_LIB_FUNCTION
krb5_free_creds_contents (krb5_context context, krb5_creds *c)
__attribute__((deprecated))
KRB5_DEPRECATED
{
return krb5_free_cred_contents (context, c);
}