~pixelherodev/ANTS

50124a2c6fb9e65a5500d3b17e044feb0b2578c8 — Noam Preil 11 months ago bb32d75
libventi:
2 files changed, 1 insertions(+), 7 deletions(-)

M sys/include/venti.h
M sys/src/libventi/mem.c
M sys/include/venti.h => sys/include/venti.h +1 -1
@@ 206,7 206,7 @@ int vtscorefmt(Fmt*);
/*
 * error-checking malloc et al.
 */
void	vtfree(void *);
#define vtfree(v) { free(v); memset(&v, 0, sizeof(v)); }
void*	vtmalloc(ulong);
void*	vtmallocz(ulong);
void*	vtrealloc(void *p, ulong);

M sys/src/libventi/mem.c => sys/src/libventi/mem.c +0 -6
@@ 7,12 7,6 @@ enum {
	ChunkSize 	= 128*1024
};

void
vtfree(void *p)
{
	free(p);
}

void *
vtmalloc(ulong size)
{