+Sat Mar 18 18:58:02 1995 John Gilmore (gnu at toad.com)
+
+ * bld_pr_ext.c, bld_princ.c: Replace STDARG_PROTOTYPES with
+ HAVE_STDARG_H for consistency.
+
Fri Mar 17 19:48:07 1995 John Gilmore (gnu at toad.com)
* Makefile.in (check-mac): Add.
#include "k5-int.h"
-#if __STDC__ || defined(STDARG_PROTOTYPES)
+#ifdef HAVE_STDARG_H
#include <stdarg.h>
#else
#include <varargs.h>
#endif
krb5_error_code INTERFACE_C
-#if __STDC__ || defined(STDARG_PROTOTYPES)
+#ifdef HAVE_STDARG_H
krb5_build_principal_ext(krb5_context context, krb5_principal * princ, int rlen, const char * realm, ...)
#else
krb5_build_principal_ext(context, princ, rlen, realm, va_alist)
krb5_data *princ_data;
krb5_principal princ_ret;
-#if __STDC__ || defined(STDARG_PROTOTYPES)
+#ifdef HAVE_STDARG_H
va_start(ap, realm);
#else
va_start(ap);
tmpdata[rlen] = 0;
/* process rest of components */
-#if __STDC__ || defined(STDARG_PROTOTYPES)
+#ifdef HAVE_STDARG_H
va_start(ap, realm);
#else
va_start(ap);
* Build a principal from a list of strings
*/
-/* Need <krb5/config.h> for STDARG_PROTOTYPES */
+/* Need <krb5/k5-config.h> for HAVE_STDARG_H */
#include "k5-int.h"
-#if __STDC__ || defined(STDARG_PROTOTYPES)
+#ifdef HAVE_STDARG_H
#include <stdarg.h>
#else
#include <varargs.h>
}
krb5_error_code INTERFACE_C
-#if __STDC__ || defined(STDARG_PROTOTYPES)
+#ifdef HAVE_STDARG_H
krb5_build_principal(krb5_context context, krb5_principal * princ, int rlen,
const char * realm, ...)
#else
if (!pr_ret)
return ENOMEM;
-#if __STDC__ || defined(STDARG_PROTOTYPES)
+#ifdef HAVE_STDARG_H
va_start(ap, realm);
#else
va_start(ap);