#include "thread.h"
#include "hcache.h"
-#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/str.h"
#include "lib/debug.h"
if (i > mhs->max || !mhs->flags) {
newmax = i + 128;
- mem_realloc (&mhs->flags, sizeof (mhs->flags[0]) * (newmax + 1));
+ p_realloc(&mhs->flags, newmax + 1);
for (j = mhs->max + 1; j <= newmax; j++)
mhs->flags[j] = 0;