diff --git a/lib/krb5/creds.c b/lib/krb5/creds.c index 4d78333b2..b91a5605b 100644 --- a/lib/krb5/creds.c +++ b/lib/krb5/creds.c @@ -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); }