diff --git a/src/include/ngspice/memory.h b/src/include/ngspice/memory.h index 658f46552..fee10b991 100644 --- a/src/include/ngspice/memory.h +++ b/src/include/ngspice/memory.h @@ -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)) diff --git a/src/maths/sparse/spdefs.h b/src/maths/sparse/spdefs.h index f88255a3f..0eaf0b0a1 100644 --- a/src/maths/sparse/spdefs.h +++ b/src/maths/sparse/spdefs.h @@ -38,9 +38,7 @@ #include #undef ABORT -#undef MALLOC #undef FREE -#undef REALLOC