summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-int.h3
-rw-r--r--src/include/krb5/krb5.hin3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 79d1cf1cd..e93398693 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -2298,9 +2298,6 @@ krb5int_c_mandatory_cksumtype (krb5_context, krb5_enctype, krb5_cksumtype *);
extern int krb5int_crypto_init (void);
extern int krb5int_prng_init(void);
-#define krb5_copy_error_state(CTX, OCTX) \
- krb5int_set_error(&(CTX)->errinfo, (OCTX)->errinfo.code, "%s", (OCTX)->errinfo.msg)
-
/*
* Referral definitions, debugging hooks, and subfunctions.
*/
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index 72a412a85..7d738a670 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -2490,6 +2490,9 @@ krb5_vset_error_message (krb5_context, krb5_error_code, const char *, va_list)
__attribute__((__format__(__printf__, 3, 0)))
#endif
;
+void KRB5_CALLCONV
+krb5_copy_error_message (krb5_context, krb5_context);
+
/*
* The behavior of krb5_get_error_message is only defined the first
* time it is called after a failed call to a krb5 function using the