From 1ac3eaa6bcc473a56340c24511786ff48a91293e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 11 May 2016 16:56:59 +0200 Subject: localedef: Do not compile with mcheck __malloc_initialize_hook is deprecated. --- locale/programs/localedef.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'locale/programs') diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c index 6becd9a..bfc5d22 100644 --- a/locale/programs/localedef.c +++ b/locale/programs/localedef.c @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -634,14 +633,3 @@ cannot open locale definition file `%s'"), result->name)); return result; } - -static void -turn_on_mcheck (void) -{ - /* Enable `malloc' debugging. */ - mcheck (NULL); - /* Use the following line for a more thorough but much slower testing. */ - /* mcheck_pedantic (NULL); */ -} - -void (*__malloc_initialize_hook) (void) = turn_on_mcheck; -- cgit v1.1