From 6fb87544af0ff2b9b9c12038bc0fb261f56a7d88 Mon Sep 17 00:00:00 2001 From: Matthew Horsfall Date: Fri, 1 Apr 2016 12:44:49 -0400 Subject: Get -Accflags=-DPERL_MEM_LOG compiling again It had rotted a bit Well, more than one probably. Move the declarations of the functions Perl_mem_log_alloc etc from handy.h into embed.fnc where whey belong, and where Malloc_t will have already been defined. --- handy.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'handy.h') diff --git a/handy.h b/handy.h index a0a7cdee7c..932a874c26 100644 --- a/handy.h +++ b/handy.h @@ -2049,12 +2049,6 @@ PoisonWith(0xEF) for catching access to freed memory. * - lots of ENV reads */ -PERL_CALLCONV Malloc_t Perl_mem_log_alloc(const UV n, const UV typesize, const char *type_name, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname); - -PERL_CALLCONV Malloc_t Perl_mem_log_realloc(const UV n, const UV typesize, const char *type_name, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname); - -PERL_CALLCONV Malloc_t Perl_mem_log_free(Malloc_t oldalloc, const char *filename, const int linenumber, const char *funcname); - # ifdef PERL_CORE # ifndef PERL_MEM_LOG_NOIMPL enum mem_log_type { -- cgit v1.2.1