1 /* 2 * Copyright (c) 1999 Sendmail, Inc. and its suppliers. 3 * All rights reserved. 4 * 5 * By using this file, you agree to the terms and conditions set 6 * forth in the LICENSE file which can be found at the top level of 7 * the sendmail distribution. 8 * 9 */ 10 11 #ifndef lint 12 static char id[] = "@(#)$Id: debug.c,v 8.2 1999/07/26 04:04:09 gshapiro Exp $"; 13 #endif /* ! lint */ 14 15 #include <sendmail.h> 16 17 u_char tTdvect[100]; /* trace vector */ 18 19 #if _FFR_DPRINTF_ 20 void 21 /*VARARGS1*/ 22 #ifdef __STDC__ 23 dprintf(const char *fmt, ...) 24 #else /* __STDC__ */ 25 dprintf(fmt, va_alist) 26 const char *fmt; 27 va_dcl 28 #endif /* __STDC__ */ 29 { 30 VA_LOCAL_DECL; 31 32 (void) vfprintf(stdout, fmt, ap); 33 } 34 35 int 36 dflush() 37 { 38 return fflush(stdout); 39 } 40 #endif /* _FFR_DPRINTF_ */ 41