Since canonicalize-lgpl.c no longer invokes malloc() nor realloc() directly
(it does its memory allocation through the 'scratch_buffer' module now),
defining _GL_USE_STDLIB_ALLOC is a redundant no-op now.


2021-01-31  Bruno Haible  <br...@clisp.org>

        canonicalize-lgpl: Simplify.
        * lib/canonicalize-lgpl.c (_GL_USE_STDLIB_ALLOC): Remove macro.

diff --git a/lib/canonicalize-lgpl.c b/lib/canonicalize-lgpl.c
index 1d2ad6c..c6fef17 100644
--- a/lib/canonicalize-lgpl.c
+++ b/lib/canonicalize-lgpl.c
@@ -21,7 +21,6 @@
    optimizes away the name == NULL test below.  */
 # define _GL_ARG_NONNULL(params)
 
-# define _GL_USE_STDLIB_ALLOC 1
 # include <libc-config.h>
 #endif
 


Reply via email to