chiark / gitweb /
regress: Fix a message about length return values
[adns.git] / regress / hfuzz.c
index c260d0df7692b6e9ff13e825a3b2c700be4659fc..e09089f6308aac982ceb2f15379cc3441849517a 100644 (file)
@@ -86,7 +86,7 @@ int Ttestinputfd(void) {
 
 void Texit(int rv) {
   fprintf(stderr,"**Texit(%d)**\n",rv);
-  Tallocshutdown();
+  Tcommonshutdown();
   exit(0);
 }
 
@@ -126,3 +126,8 @@ int main(int argc, char **argv) {
   int estatus = Hmain(t_argc, t_argv);
   Texit(estatus);
 }
+
+void Tmallocshutdown(void) { }
+void *Hmalloc(size_t s) { assert(s); return malloc(s); }
+void *Hrealloc(void *p, size_t s) { assert(s); return realloc(p,s); }
+void Hfree(void *p) { free(p); }