#ifndef Alloc
#include "xmalloc.h"
-#define Alloc(size) (HashSetEntry*) xmalloc((size) * sizeof(HashSetEntry))
+#define Alloc(size) XMALLOCN(HashSetEntry, (size))
#define Free(ptr) free(ptr)
#endif /* Alloc */
#else
/* resize must be defined outside */
-static void resize(HashSet *self, size_t new_size);
+static INLINE void resize(HashSet *self, size_t new_size);
#endif