]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove some small unnecessary, out-of-date bits
authorNicholas Nethercote <n.nethercote@gmail.com>
Mon, 26 Jan 2004 14:51:40 +0000 (14:51 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Mon, 26 Jan 2004 14:51:40 +0000 (14:51 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2231

coregrind/vg_default.c

index 305c8ec55730ffe649cd29797e3b0a635df9572a..bdc9e1ffe7a600ca91fa091b6c1fb4a262942e71 100644 (file)
 */
 
 
-/* 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                               ---*/
 /*------------------------------------------------------------*/