Declare krb5_set_error_message_fl
authorKen Raeburn <raeburn@mit.edu>
Sat, 23 Oct 2010 22:26:01 +0000 (22:26 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 23 Oct 2010 22:26:01 +0000 (22:26 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24474 dc483132-0cff-0310-8789-dd5450dbe970

src/include/k5-int.h

index 67f01925a09325df9648581a92d4e68c9d67aba0..a9dab94fc15e941c6310684b072e72c7dede39cd 100644 (file)
@@ -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. */