From 2ac46110b6dd4655c69f9e50e28458977e4069b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 11 Jan 2009 21:50:20 +0000 Subject: [PATCH] use KRB5_DEPRECATED git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24291 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/error_string.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/krb5/error_string.c b/lib/krb5/error_string.c index ffe4aca2e..c9a240846 100644 --- a/lib/krb5/error_string.c +++ b/lib/krb5/error_string.c @@ -35,8 +35,8 @@ RCSID("$Id$"); -#undef __attribute__ -#define __attribute__(X) +#undef KRB5_DEPRECATED +#define KRB5_DEPRECATED /** * Clears the error message from the Kerberos 5 context. @@ -216,7 +216,7 @@ krb5_free_error_message(krb5_context context, const char *msg) void KRB5_LIB_FUNCTION krb5_free_error_string(krb5_context context, char *str) - __attribute__((deprecated)) + KRB5_DEPRECATED { krb5_free_error_message(context, str); } @@ -272,7 +272,7 @@ krb5_vset_error_string(krb5_context context, const char *fmt, va_list args) void KRB5_LIB_FUNCTION krb5_clear_error_string(krb5_context context) - __attribute__((deprecated)) + KRB5_DEPRECATED { return krb5_clear_error_message(context); }