From: Nicholas Nethercote Date: Mon, 26 Jan 2004 14:51:40 +0000 (+0000) Subject: Remove some small unnecessary, out-of-date bits X-Git-Tag: svn/VALGRIND_2_1_1~77 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f31fee2707a78a945d0bb321c94e83439d49960b;p=thirdparty%2Fvalgrind.git Remove some small unnecessary, out-of-date bits git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2231 --- diff --git a/coregrind/vg_default.c b/coregrind/vg_default.c index 305c8ec557..bdc9e1ffe7 100644 --- a/coregrind/vg_default.c +++ b/coregrind/vg_default.c @@ -31,10 +31,6 @@ */ -/* These functions aren't intended to be run. Replacement functions used by - * the chosen tool are substituted by compiling the tool into a .so and - * LD_PRELOADing it. Nasty :) */ - #include "vg_include.h" /* --------------------------------------------------------------------- @@ -66,17 +62,6 @@ void malloc_panic ( const Char* fn ) VG_(skin_panic)("Missing tool function"); } -#define MALLOC(proto) \ -__attribute__((weak)) \ -proto \ -{ \ - malloc_panic(__PRETTY_FUNCTION__); \ -} - -/* --------------------------------------------------------------------- - Default functions - ------------------------------------------------------------------ */ - /*------------------------------------------------------------*/ /*--- Replacing malloc et al ---*/ /*------------------------------------------------------------*/