summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2010-10-23 22:26:01 +0000
committerKen Raeburn <raeburn@mit.edu>2010-10-23 22:26:01 +0000
commitd354fa95c09b03a5335a546802bbc871d8c9725b (patch)
treeddafd03ba2d0089b76bf2d1a1f2e17c57270590b
parent462194873b45a2ee34777cc6bf9093742a717240 (diff)
downloadkrb5-d354fa95c09b03a5335a546802bbc871d8c9725b.tar.gz
krb5-d354fa95c09b03a5335a546802bbc871d8c9725b.tar.xz
krb5-d354fa95c09b03a5335a546802bbc871d8c9725b.zip
Declare krb5_set_error_message_fl
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24474 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/include/k5-int.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 67f01925a0..a9dab94fc1 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -3022,6 +3022,13 @@ krb5_error_code krb5int_parse_enctype_list(krb5_context context, char *profstr,
#define krb5_set_error_message(ctx, code, ...) \
krb5_set_error_message_fl(ctx, code, __FILE__, __LINE__, __VA_ARGS__)
#endif
+void KRB5_CALLCONV_C
+krb5_set_error_message_fl (krb5_context ctx, krb5_error_code code,
+ const char *file, int line, const char *fmt, ...)
+#ifdef __GNUC__
+ __attribute__((__format__(printf,5,6)))
+#endif
+ ;
#ifndef DISABLE_TRACING
/* Do not use these functions directly; see k5-trace.h. */