From: Alejandro Colomar Date: Wed, 16 Oct 2024 18:22:31 +0000 (+0200) Subject: lib/alloc/realloc*.h: Rename macro parameter X-Git-Tag: 4.17.0-rc1~52 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=12aa29b57632c2b4766d99b99641962c04f82697;p=thirdparty%2Fshadow.git lib/alloc/realloc*.h: Rename macro parameter This is in preparation for the following commit, which will need this shorter parameter name to avoid breaking long lines. Signed-off-by: Alejandro Colomar --- diff --git a/lib/alloc/realloc.h b/lib/alloc/realloc.h index 5ed907889..fd31ab89e 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 7b0f36a84..5854330aa 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))) \ )