1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00

* lib/setenv.c (_GL_USE_STDLIB_ALLOC, malloc, realloc): Likewise.

This commit is contained in:
Paul Eggert
2011-04-08 11:31:54 -07:00
parent 10d90c830f
commit 8cce898519
2 changed files with 2 additions and 4 deletions
+1
View File
@@ -7,6 +7,7 @@
(malloc, realloc): Don't #undef; no longer needed.
* lib/malloca.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
* lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
* lib/setenv.c (_GL_USE_STDLIB_ALLOC, malloc, realloc): Likewise.
careadlinkat: rename members to avoid problem
* lib/allocator.h (struct allocator): Rename members from
+1 -4
View File
@@ -15,6 +15,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#if !_LIBC
# define _GL_USE_STDLIB_ALLOC 1
# include <config.h>
#endif
@@ -64,10 +65,6 @@ __libc_lock_define_initialized (static, envlock)
# define clearenv __clearenv
# define tfind __tfind
# define tsearch __tsearch
#else
/* Use the system functions, not the gnulib overrides in this file. */
# undef malloc
# undef realloc
#endif
/* In the GNU C library implementation we try to be more clever and