From 28bfd7b8e8cda7faf2615695b789d637151a57dc Mon Sep 17 00:00:00 2001 From: John Carr Date: Wed, 29 May 1991 07:08:33 +0000 Subject: [PATCH] Use stdarg if the .cf file defines UseStdarg git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2122 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/bld_princ.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/krb5/krb/bld_princ.c b/src/lib/krb5/krb/bld_princ.c index 83ae9724f..a676742e5 100644 --- a/src/lib/krb5/krb/bld_princ.c +++ b/src/lib/krb5/krb/bld_princ.c @@ -16,7 +16,7 @@ static char rcsid_bld_princ_c [] = "$Id$"; #endif /* !lint & !SABER */ -#ifdef __STDC__ +#if __STDC__ || defined(STDARG_PROTOTYPES) #include #else #include @@ -93,7 +93,7 @@ va_list ap; } krb5_error_code -#ifdef __STDC__ +#if __STDC__ || defined(STDARG_PROTOTYPES) krb5_build_principal(krb5_principal *princ, int rlen, const char *realm, ...) #else krb5_build_principal(princ, rlen, realm, va_alist) @@ -106,7 +106,7 @@ va_dcl va_list ap; krb5_error_code retval; -#ifdef __STDC__ +#if __STDC__ || defined(STDARG_PROTOTYPES) va_start(ap, realm); #else va_start(ap); -- 2.26.2