summaryrefslogtreecommitdiff
path: root/bin/pdksh/table.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-06-18 22:42:50 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-06-18 22:42:50 +0000
commitc8708ed93617f5d278f4f7faf294a6e7c57227df (patch)
tree83832809b6ff198d789d720827ee338c50df8b37 /bin/pdksh/table.c
parente37d7f641aedb36d7e29530bb5d9c2fe398d1407 (diff)
(foo *)0 -> NULL
Diffstat (limited to 'bin/pdksh/table.c')
-rw-r--r--bin/pdksh/table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pdksh/table.c b/bin/pdksh/table.c
index 3b2861bb63f..85f7578e50d 100644
--- a/bin/pdksh/table.c
+++ b/bin/pdksh/table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table.c,v 1.2 1996/08/19 20:08:59 downsj Exp $ */
+/* $OpenBSD: table.c,v 1.3 1997/06/18 22:42:45 kstailey Exp $ */
/*
* dynamic hashed associative table for commands and variables
@@ -126,7 +126,7 @@ tenter(tp, n, h)
p->type = 0;
p->areap = tp->areap;
p->u2.field = 0;
- p->u.array = (struct tbl *)0;
+ p->u.array = NULL;
memcpy(p->name, n, len);
/* enter in tp->tbls */