From: Ken Raeburn Date: Sat, 20 Jan 2007 12:52:34 +0000 (+0000) Subject: Include stdarg.h, and don't conditionalize declarations of functions with X-Git-Tag: krb5-1.7-alpha1~1338 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2ba181e33a5121875e6e415e4a77fa1c4a381ee9;p=krb5.git Include stdarg.h, and don't conditionalize declarations of functions with va_list arguments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19087 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index 9b4eb346c..1c5f15738 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -91,6 +91,7 @@ #include #include /* for *_MAX */ +#include #ifndef KRB5INT_BEGIN_DECLS #if defined(__cplusplus) @@ -1541,12 +1542,9 @@ krb5_error_code KRB5_CALLCONV_C krb5_build_principal_ext (krb5_context, krb5_principal *, unsigned int, const char *, ...); krb5_error_code KRB5_CALLCONV_C krb5_build_principal (krb5_context, krb5_principal *, unsigned int, const char *, ...); -#ifdef va_start -/* XXX depending on varargs include file defining va_start... */ krb5_error_code KRB5_CALLCONV krb5_build_principal_va (krb5_context, krb5_principal, unsigned int, const char *, va_list); -#endif krb5_error_code KRB5_CALLCONV krb5_425_conv_principal (krb5_context, @@ -2236,10 +2234,8 @@ krb5_prompt_type* KRB5_CALLCONV krb5_get_prompt_types /* Error reporting */ void KRB5_CALLCONV_C krb5_set_error_message (krb5_context, krb5_error_code, const char *, ...); -#ifdef va_start void KRB5_CALLCONV krb5_vset_error_message (krb5_context, krb5_error_code, const char *, va_list); -#endif /* * 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