diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2007-01-20 12:52:34 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2007-01-20 12:52:34 +0000 |
| commit | 2ba181e33a5121875e6e415e4a77fa1c4a381ee9 (patch) | |
| tree | d2e79d22cc904b669768f65881b759cee2cbb5bc /src/include | |
| parent | 53b423cea6a67c0abd432d07b1d9bfa03a03c464 (diff) | |
| download | krb5-2ba181e33a5121875e6e415e4a77fa1c4a381ee9.tar.gz krb5-2ba181e33a5121875e6e415e4a77fa1c4a381ee9.tar.xz krb5-2ba181e33a5121875e6e415e4a77fa1c4a381ee9.zip | |
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
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/krb5.hin | 6 |
1 files changed, 1 insertions, 5 deletions
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 <stdlib.h> #include <limits.h> /* for *_MAX */ +#include <stdarg.h> #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 |
