summaryrefslogtreecommitdiff
path: root/sys/netiso/xebec/debug.h
blob: d2ed599203956edf26ea282e599f6ac39748c23d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*	$OpenBSD: debug.h,v 1.3 2001/08/12 12:03:03 heko Exp $	*/
/*	$NetBSD: debug.h,v 1.4 1994/06/29 06:41:00 cgd Exp $	*/

#define OUT stdout

extern int	debug[128];

#ifdef DEBUG
extern int column;

#define IFDEBUG(letter) \
	if(debug['letter']) { 
#define ENDDEBUG  ; (void) fflush(stdout);}

#else 

#define STAR *
#define IFDEBUG(letter)	 //*beginning of comment*/STAR
#define ENDDEBUG	 STAR/*end of comment*//

#endif /* DEBUG */