Unused wsmap, begone!

- held only reference to wnew0, which was the only consumer
of wmalloc0, safe trip both of them.
This commit is contained in:
Tamas TEVESZ authored and Carlos R. Mafra committed 2010-03-15 16:56:06 +01:00
1 parent 4688e1b568
commit 8d0020cf9a
4 files changed
-109

No files matched your search

-11
View File
@@ -98,17 +98,6 @@ void *wmalloc(size_t size)
return tmp;
}
void *wmalloc0(size_t size)
{
void *ptr = wmalloc(size);
if (!ptr)
return NULL;
memset(ptr, 0, size);
return ptr;
}
void *wrealloc(void *ptr, size_t newsize)
{
void *nptr;