summaryrefslogtreecommitdiff
path: root/sys/netiso/xebec/debug.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /sys/netiso/xebec/debug.h
initial import of NetBSD tree
Diffstat (limited to 'sys/netiso/xebec/debug.h')
-rw-r--r--sys/netiso/xebec/debug.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/netiso/xebec/debug.h b/sys/netiso/xebec/debug.h
new file mode 100644
index 00000000000..2e69ba2bebe
--- /dev/null
+++ b/sys/netiso/xebec/debug.h
@@ -0,0 +1,21 @@
+/* $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
+