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 <alx@kernel.org>
#include <stdlib.h>
-#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))) \
)
#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))) \
)