From 589e8f0978963db5afebc2631ba90465f3b8676b Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 22 Nov 2009 16:13:10 -0800 Subject: [PATCH] deprecated warning --- lib/krb5/init_creds.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/krb5/init_creds.c b/lib/krb5/init_creds.c index 77bdeff9d..743212d26 100644 --- a/lib/krb5/init_creds.c +++ b/lib/krb5/init_creds.c @@ -392,6 +392,16 @@ krb5_get_init_creds_opt_set_process_last_req(krb5_context context, #ifndef HEIMDAL_SMALLER +/** + * Deprecated: use krb5_get_init_creds_opt_alloc(). + * + * The reason krb5_get_init_creds_opt_init() is deprecated is that + * krb5_get_init_creds_opt is a static structure and for ABI reason it + * can't grow, ie can't add new functionality. + * + * @ingroup krb5_deprecated + */ + void KRB5_LIB_FUNCTION krb5_get_init_creds_opt_init(krb5_get_init_creds_opt *opt) KRB5_DEPRECATED