Update to B::Debug 1.11, by Reini Urban
[p5sagit/p5-mst-13.2.git] / x2p / hash.c
index 8c218b6..9cc50f8 100644 (file)
@@ -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;
 }