diff options
Diffstat (limited to 'gnu/usr.bin/perl/x2p/hash.c')
-rw-r--r-- | gnu/usr.bin/perl/x2p/hash.c | 6 |
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; } |