use KRB5_DEPRECATED

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24323 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-01-17 21:51:15 +00:00
parent 905469a1ee
commit 3c8eabfdcf

View File

@@ -369,7 +369,7 @@ krb5_get_init_creds_opt_set_process_last_req(krb5_context context,
void KRB5_LIB_FUNCTION
krb5_get_init_creds_opt_init(krb5_get_init_creds_opt *opt)
__attribute__((deprecated))
KRB5_DEPRECATED
{
memset (opt, 0, sizeof(*opt));
}
@@ -385,7 +385,7 @@ krb5_error_code KRB5_LIB_FUNCTION
krb5_get_init_creds_opt_get_error(krb5_context context,
krb5_get_init_creds_opt *opt,
KRB_ERROR **error)
__attribute__((deprecated))
KRB5_DEPRECATED
{
*error = calloc(1, sizeof(**error));
if (*error == NULL) {