freebsd-skq/contrib/ntp/include/ntp_debug.h
roberto b85c7169a7 Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head. Next commit
will update usr.sbin/ntp to match this.

MFC after:	2 weeks
2008-08-22 15:58:00 +00:00

27 lines
436 B
C

/*
* $Header$
*
* $Created: Sat Aug 20 14:23:01 2005 $
*
* Copyright (C) 2005 by Frank Kardel
*/
#ifndef NTP_DEBUG_H
#define NTP_DEBUG_H
/*
* macros for debugging output - cut down on #ifdef pollution in the code
*/
#ifdef DEBUG
#define DPRINTF(_lvl_, _arg_) \
if (debug >= (_lvl_)) \
printf _arg_;
#else
#define DPRINTF(_lvl_, _arg_)
#endif
#endif
/*
* $Log$
*/