#include "newalloc.h"
-#if defined(_MSC_VER)
#include <string.h>
#include <stdlib.h>
-#endif
/* Define a generic NULL if one hasn't already been defined. */
#define volatile
#endif
+static HASHNODE *hashtab[HASHSIZE];
+
/*
* return hash function on name. must be compatible with the one
* computed a step at a time, elsewhere
for (ap = d->pattern; ap != NULL; ap = nextap)
{
nextap = ap->next;
- free (ap);
+ Safe_free (ap);
}
if (d->nargs >= 0)
- free (d->args.argnames);
- free (d);
+ Safe_free (d->args.argnames);
+ Safe_free (d);
}
- free (hp);
+ Safe_free (hp);
}
/*
* install a name in the main hash table, even if it is already there.