mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 04:14:20 +01:00
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:
committed by
Carlos R. Mafra
parent
4688e1b568
commit
8d0020cf9a
@@ -237,12 +237,10 @@ char* wexpandpath(char *path);
|
||||
char* wgethomedir();
|
||||
|
||||
void* wmalloc(size_t size);
|
||||
void* wmalloc0(size_t size);
|
||||
void* wrealloc(void *ptr, size_t newsize);
|
||||
void wfree(void *ptr);
|
||||
|
||||
#define wnew(type, count) wmalloc(sizeof(type)*count)
|
||||
#define wnew0(type, count) wmalloc0(sizeof(type)*count)
|
||||
|
||||
void wrelease(void *ptr);
|
||||
void* wretain(void *ptr);
|
||||
|
||||
Reference in New Issue
Block a user