diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/k5-err.h | 4 | ||||
| -rw-r--r-- | src/include/krb5/krb5.hin | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/k5-err.h b/src/include/k5-err.h index 29f41f12b..c2cc52cee 100644 --- a/src/include/k5-err.h +++ b/src/include/k5-err.h @@ -57,10 +57,10 @@ krb5int_set_error (struct errinfo *ep, void krb5int_vset_error (struct errinfo *ep, long code, const char *fmt, va_list args); -char * +const char * krb5int_get_error (struct errinfo *ep, long code); void -krb5int_free_error (struct errinfo *ep, char *msg); +krb5int_free_error (struct errinfo *ep, const char *msg); void krb5int_clear_error (struct errinfo *ep); void diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index 354ff12b1..2ad6be9c8 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -2597,10 +2597,10 @@ krb5_vset_error_message (krb5_context, krb5_error_code, const char *, va_list); * The string returned by this function must be freed using * krb5_free_error_message. */ -char * KRB5_CALLCONV +const char * KRB5_CALLCONV krb5_get_error_message (krb5_context, krb5_error_code); void KRB5_CALLCONV -krb5_free_error_message (krb5_context, char *); +krb5_free_error_message (krb5_context, const char *); void KRB5_CALLCONV krb5_clear_error_message (krb5_context); |
