diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
commit | d6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch) | |
tree | ece253b876159b39c620e62b6c9b1174642e070e /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.h | 21 |
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 + |