summaryrefslogtreecommitdiffstats
path: root/bin/ksh/sh.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-01-08 20:24:54 +0000
committermillert <millert@openbsd.org>1999-01-08 20:24:54 +0000
commit945abdec54affd54b29b2bcb3fd1db9bf1b16b43 (patch)
treecb8101e59fccdd03cd81f787fb01404542d705d4 /bin/ksh/sh.h
parentDon't use the next phone number after the ``|'' if the (diff)
downloadwireguard-openbsd-945abdec54affd54b29b2bcb3fd1db9bf1b16b43.tar.xz
wireguard-openbsd-945abdec54affd54b29b2bcb3fd1db9bf1b16b43.zip
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