1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-02 06:05:45 +01:00

applied patch to use more gnustepish paths for some internal data files

This commit is contained in:
kojima
2005-03-11 01:56:06 +00:00
parent fe381eca77
commit 3301b57d4b
4 changed files with 26 additions and 9 deletions

View File

@@ -110,6 +110,19 @@ wmalloc(size_t size)
}
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)
{