From d354fa95c09b03a5335a546802bbc871d8c9725b Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 23 Oct 2010 22:26:01 +0000 Subject: [PATCH] Declare krb5_set_error_message_fl git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24474 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/k5-int.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 67f01925a..a9dab94fc 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. */ -- 2.26.2