summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/x2p/hash.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2009-10-12 18:30:29 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2009-10-12 18:30:29 +0000
commit9ee81f49d98a3a8c104e555916192c1eaf02f94f (patch)
tree0676e661fc136118c1c61ffe747bbb6941687440 /gnu/usr.bin/perl/x2p/hash.c
parent7bed5fce775e8466f8c0c970eaeb5071d8a7718c (diff)
Merge in perl 5.10.1; part two
Diffstat (limited to 'gnu/usr.bin/perl/x2p/hash.c')
-rw-r--r--gnu/usr.bin/perl/x2p/hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/x2p/hash.c b/gnu/usr.bin/perl/x2p/hash.c
index 8c218b69e5f..9cc50f8dba1 100644
--- a/gnu/usr.bin/perl/x2p/hash.c
+++ b/gnu/usr.bin/perl/x2p/hash.c
@@ -25,7 +25,7 @@ hfetch(register HASH *tb, char *key)
register HENT *entry;
if (!tb)
- return Nullstr;
+ return NULL;
for (s=key, i=0, hash = 0;
/* while */ *s;
s++, i++, hash *= 5) {
@@ -39,7 +39,7 @@ hfetch(register HASH *tb, char *key)
continue;
return entry->hent_val;
}
- return Nullstr;
+ return NULL;
}
bool
@@ -144,6 +144,6 @@ int
hiterinit(register HASH *tb)
{
tb->tbl_riter = -1;
- tb->tbl_eiter = Null(HENT*);
+ tb->tbl_eiter = (HENT*)NULL;
return tb->tbl_fill;
}