From fdae09119b44f3703dc31387871d0adafb34fb45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 25 Jan 2009 00:28:09 +0000 Subject: [PATCH] use KRB5_DEPRECATED git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24341 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/error_string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/krb5/error_string.c b/lib/krb5/error_string.c index 1b274a0c3..c1dccffb4 100644 --- a/lib/krb5/error_string.c +++ b/lib/krb5/error_string.c @@ -235,7 +235,7 @@ krb5_free_error_string(krb5_context context, char *str) krb5_error_code KRB5_LIB_FUNCTION krb5_set_error_string(krb5_context context, const char *fmt, ...) - __attribute__((format (printf, 2, 3))) __attribute__((deprecated)) + __attribute__((format (printf, 2, 3))) KRB5_DEPRECATED { va_list ap; @@ -257,7 +257,7 @@ krb5_set_error_string(krb5_context context, const char *fmt, ...) krb5_error_code KRB5_LIB_FUNCTION krb5_vset_error_string(krb5_context context, const char *fmt, va_list args) - __attribute__ ((format (printf, 2, 0))) __attribute__((deprecated)) + __attribute__ ((format (printf, 2, 0))) KRB5_DEPRECATED { krb5_vset_error_message(context, 0, fmt, args); return 0;