ack/util/led/debug.h

28 lines
557 B
C
Raw Normal View History

1987-03-09 19:15:41 +00:00
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
1994-06-24 11:31:16 +00:00
/* $Id$ */
1985-01-10 13:35:39 +00:00
#ifndef __DEBUG_H_INCLUDED__
#define __DEBUG_H_INCLUDED__
1985-01-10 13:35:39 +00:00
#ifdef NDEBUG
#define debug(s, a1, a2, a3, a4)
1985-01-10 13:35:39 +00:00
#else
extern int DEB;
1985-01-10 13:35:39 +00:00
#define debug(s, a1, a2, a3, a4) (DEB && printf(s, a1, a2, a3, a4))
1985-01-10 13:35:39 +00:00
#endif
1990-03-15 10:44:14 +00:00
extern int Verbose;
#define verbose(s, a1, a2, a3, a4) (Verbose && do_verbose(s, a1, a2, a3, a4))
extern void fatal(char* format, ...);
#endif /* __DEBUG_H_INCLUDED__ */