everywhere, drop `MALLOC()' and `REALLOC()'

This commit is contained in:
rlar 2016-03-12 12:21:44 +01:00
parent 4c1c95e20f
commit 6342bec8ec
2 changed files with 0 additions and 4 deletions

View File

@ -29,9 +29,7 @@ extern void txfree(void *ptr);
#include "ngspice/stringutil.h" /* va: spice3 internally bzero */
#define MALLOC(x) tmalloc((size_t) (x))
#define FREE(x) do { if(x) { txfree(x); (x) = NULL; } } while(0)
#define REALLOC(x, y) trealloc(x, (size_t) (y))
#define ZERO(PTR, TYPE) bzero(PTR, sizeof(TYPE))

View File

@ -38,9 +38,7 @@
#include <stdio.h>
#undef ABORT
#undef MALLOC
#undef FREE
#undef REALLOC