summaryrefslogtreecommitdiff
path: root/usr.bin/awk/awk.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-12-19 21:24:29 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-12-19 21:24:29 +0000
commit20b6afc1f6af7b8cf2bd8b9933ac91afb729859f (patch)
treee04b12a8a0d5797db48a995c61a36154409c9fb7 /usr.bin/awk/awk.h
parent74f6d0d46c772481e8721cc054dcf4d4815852f6 (diff)
Update to the One True Awk version 20021213
Diffstat (limited to 'usr.bin/awk/awk.h')
-rw-r--r--usr.bin/awk/awk.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/awk/awk.h b/usr.bin/awk/awk.h
index 9762944b892..e29804c8c83 100644
--- a/usr.bin/awk/awk.h
+++ b/usr.bin/awk/awk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: awk.h,v 1.9 2001/09/08 00:12:40 millert Exp $ */
+/* $OpenBSD: awk.h,v 1.10 2002/12/19 21:24:28 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -31,6 +31,8 @@ typedef unsigned char uschar;
#define xfree(a) { if ((a) != NULL) { free((char *) a); a = NULL; } }
+#define NN(p) ((p) ? (p) : "(null)") /* guaranteed non-null for dprintf
+*/
#define DEBUG
#ifdef DEBUG
/* uses have to be doubly parenthesized */