KRB5_DEPRECATED needs to be prefixed to the declaration on Windows

This commit is contained in:
Asanka Herath
2009-11-25 12:40:50 -05:00
parent 798d78e098
commit 72848585cd
2 changed files with 8 additions and 4 deletions

View File

@@ -279,8 +279,9 @@ krb5_free_error_message(krb5_context context, const char *msg)
* @ingroup krb5
*/
KRB5_DEPRECATED
KRB5_LIB_FUNCTION const char* KRB5_LIB_CALL
krb5_get_err_text(krb5_context context, krb5_error_code code) KRB5_DEPRECATED
krb5_get_err_text(krb5_context context, krb5_error_code code)
{
const char *p = NULL;
if(context != NULL)