From: Ken Raeburn Date: Sat, 23 Oct 2010 22:26:01 +0000 (+0000) Subject: Declare krb5_set_error_message_fl X-Git-Tag: krb5-1.10-alpha1~684 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d354fa95c09b03a5335a546802bbc871d8c9725b;p=krb5.git Declare krb5_set_error_message_fl git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24474 dc483132-0cff-0310-8789-dd5450dbe970 --- 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. */