From 6664b43d03eb5acf0ac25c5570be6b8ecdd2ebde Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 16 Apr 2021 17:06:21 -0700 Subject: malloc, realloc: fix recently-introduced #undef typos * lib/malloc.c (malloc): * lib/realloc.c (malloc, realloc): #undef before using. --- lib/realloc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/realloc.c') diff --git a/lib/realloc.c b/lib/realloc.c index 3bf1bea2d9..c3e3cdfc55 100644 --- a/lib/realloc.c +++ b/lib/realloc.c @@ -40,6 +40,10 @@ # include +/* Call the system's malloc and realloc below. */ +# undef malloc +# undef realloc + /* Change the size of an allocated block of memory P to N bytes, with error checking. If N is zero, change it to 1. If P is NULL, use malloc. */ -- cgit v1.2.1