#ifdef HAVE_VFORK_H
#include <vfork.h>
#endif
-#ifdef HAVE_STDARG_H
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
#include <sys/wait.h>
#ifdef KERBEROS
#include <sys/audit.h>
#include <pwdadj.h>
#endif
-#ifdef HAVE_STDARG_H
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
+
#include <signal.h>
#if !defined(KERBEROS) || !defined(KRB5_KRB4_COMPAT)
/* Ultrix doesn't protect it vs multiple inclusion, and krb.h includes it */
#include <netdb.h>
#endif
#include <errno.h>
-#ifdef HAVE_STDARG_H
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
#include "port-sockets.h"
#include <netdb.h>
#include <ctype.h>
#include <pwd.h>
-#ifdef HAVE_STDARG_H
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
#include <errno.h>
#ifdef HAVE_VFORK_H
#include <vfork.h>
* Set up a com_err hook, for displaying to a motif scrolling widget.
*/
-#if __STDC__
-# include <stdarg.h>
-#else /* varargs: not STDC or no <stdarg> */
- /* Non-ANSI, always take <varargs.h> path. */
-# undef VARARGS
-# define VARARGS 1
-# include <varargs.h>
-#endif /* varargs */
+#include <stdarg.h>
static void
#ifdef __STDC__
#ifdef HAVE_SYSLOG_H
#include <syslog.h>
#endif /* HAVE_SYSLOG_H */
-#ifdef HAVE_STDARG_H
#include <stdarg.h>
-#else /* HAVE_STDARG_H */
-#include <varargs.h>
-#endif /* HAVE_STDARG_H */
#define KRB5_KLOG_MAX_ERRMSG_SIZE 1024
#ifndef MAXHOSTNAMELEN
exit(1);
}
-#ifdef __STDC__
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
void
-#ifdef __STDC__
err(const char *fmt, ...)
-#else
-err(fmt, va_alist)
- char *fmt;
- va_dcl
-#endif
{
va_list ap;
-#ifdef __STDC__
va_start(ap, fmt);
-#else
- va_start(ap);
-#endif
(void)fprintf(stderr, "dbtest: ");
(void)vfprintf(stderr, fmt, ap);
va_end(ap);