diff --git a/lib/alloc/realloc.h b/lib/alloc/realloc.h index 5ed90788..fd31ab89 100644 --- a/lib/alloc/realloc.h +++ b/lib/alloc/realloc.h @@ -11,9 +11,9 @@ #include -#define REALLOC(ptr, n, type) \ +#define REALLOC(p, n, type) \ ( \ - _Generic(ptr, type *: (type *) reallocarray(ptr, n, sizeof(type))) \ + _Generic(p, type *: (type *) reallocarray(p, n, sizeof(type))) \ ) diff --git a/lib/alloc/reallocf.h b/lib/alloc/reallocf.h index 7b0f36a8..5854330a 100644 --- a/lib/alloc/reallocf.h +++ b/lib/alloc/reallocf.h @@ -14,9 +14,9 @@ #include "attr.h" -#define REALLOCF(ptr, n, type) \ +#define REALLOCF(p, n, type) \ ( \ - _Generic(ptr, type *: (type *) reallocarrayf(ptr, n, sizeof(type))) \ + _Generic(p, type *: (type *) reallocarrayf(p, n, sizeof(type))) \ )