summaryrefslogtreecommitdiff
path: root/bin/ksh/sh.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-08 20:25:06 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-08 20:25:06 +0000
commit6a5d0cf1c0a39abcf664e579d4844baf976be409 (patch)
tree62ba360b692423222dd434b61fddf954a08a17bf /bin/ksh/sh.h
parent289d0caa4f5c6d3215a1ea49d80b71667099fd78 (diff)
bug fixes from pdksh-unstable-5.2.13.5; some of which we already had.
Diffstat (limited to 'bin/ksh/sh.h')
-rw-r--r--bin/ksh/sh.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h
index 89955883d66..2a92122f8a2 100644
--- a/bin/ksh/sh.h
+++ b/bin/ksh/sh.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh.h,v 1.6 1998/06/25 19:02:19 millert Exp $ */
+/* $OpenBSD: sh.h,v 1.7 1999/01/08 20:25:02 millert Exp $ */
/*
* Public Domain Bourne/Korn shell
@@ -379,6 +379,16 @@ EXTERN Area aperm; /* permanent object space */
# include "chmem.h" /* a debugging front end for malloc et. al. */
#endif /* MEM_DEBUG */
+#ifdef KSH_DEBUG
+# define kshdebug_init() kshdebug_init_()
+# define kshdebug_printf(a) kshdebug_printf_ a
+# define kshdebug_dump(a) kshdebug_dump_ a
+#else /* KSH_DEBUG */
+# define kshdebug_init()
+# define kshdebug_printf(a)
+# define kshdebug_dump(a)
+#endif /* KSH_DEBUG */
+
/*
* parsing & execution environment