X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1f65350a16be6a090cf19bad626e191c67159a19..99880de508cd84d0ed8fa23c24a7337c21f23059:/src/system.h diff --git a/src/system.h b/src/system.h index 62640c5c..23fe5f55 100644 --- a/src/system.h +++ b/src/system.h @@ -54,9 +54,6 @@ typedef size_t uintptr_t; #endif #include -#define CALLOC(P, N) ((P) = xcalloc (N, sizeof *(P))) -#define MALLOC(P, N) ((P) = xnmalloc (N, sizeof *(P))) -#define REALLOC(P, N) ((P) = xnrealloc (P, N, sizeof *(P))) /*---------------------. @@ -205,7 +202,7 @@ do { \ for (_node = List; _node; _node = _next) \ { \ _next = _node->next; \ - XFREE (_node); \ + free (_node); \ } \ } while (0)