diff --git a/lib/krb5/error_string.c b/lib/krb5/error_string.c index 94921c94b..518985a15 100644 --- a/lib/krb5/error_string.c +++ b/lib/krb5/error_string.c @@ -190,6 +190,8 @@ krb5_free_error_message(krb5_context context, const char *msg) free(rk_UNCONST(msg)); } +#ifndef HEIMDAL_SMALLER + /** * Free the error message returned by krb5_get_error_string(), * deprecated, use krb5_free_error_message(). @@ -226,3 +228,4 @@ krb5_vset_error_string(krb5_context context, const char *fmt, va_list args) return 0; } +#endif /* !HEIMDAL_SMALLER */