b85c7169a7
will update usr.sbin/ntp to match this. MFC after: 2 weeks
27 lines
436 B
C
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$
|
|
*/
|