perl5.000 patch.0e: fix various non-broken things in the x2p/ directory
[p5sagit/p5-mst-13.2.git] / x2p / hash.c
index b910af6..58236f4 100644 (file)
@@ -10,9 +10,8 @@
 
 #include <stdio.h>
 #include "EXTERN.h"
-#include "handy.h"
-#include "util.h"
 #include "a2p.h"
+#include "util.h"
 
 STR *
 hfetch(tb,key)
@@ -71,7 +70,7 @@ STR *val;
        if (strNE(entry->hent_key,key)) /* is this it? */
            continue;
        /*NOSTRICT*/
-       safefree((char*)entry->hent_val);
+       Safefree(entry->hent_val);
        entry->hent_val = val;
        return TRUE;
     }
@@ -133,6 +132,7 @@ char *key;
 }
 #endif
 
+void
 hsplit(tb)
 HASH *tb;
 {
@@ -194,6 +194,7 @@ register HASH *tb;
 }
 #endif
 
+int
 hiterinit(tb)
 register HASH *tb;
 {