From: Nicholas Nethercote Date: Tue, 30 Nov 2004 14:41:13 +0000 (+0000) Subject: Whoops, must edit tool.h.base, not tool.h. X-Git-Tag: svn/VALGRIND_3_0_0~1155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f2c1878031f3e723243057f37b3ca5807f35f2b;p=thirdparty%2Fvalgrind.git Whoops, must edit tool.h.base, not tool.h. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3163 --- diff --git a/include/tool.h.base b/include/tool.h.base index 9722c2f31c..b3a83eb771 100644 --- a/include/tool.h.base +++ b/include/tool.h.base @@ -955,11 +955,11 @@ extern UInt VG_(get_exit_status_shadow) ( ThreadId ); /* Arena size for valgrind's own malloc(); default value is 0, but can be overridden by tool -- but must be done so *statically*, eg: - UInt VG_(vg_malloc_redzone_szB) = 4; + SizeT VG_(vg_malloc_redzone_szB) = 4; It can't be done from a function like TL_(pre_clo_init)(). So it can't, for example, be controlled with a command line option, unfortunately. */ -extern UInt VG_(vg_malloc_redzone_szB); +extern SizeT VG_(vg_malloc_redzone_szB); /* Can be called from TL_(malloc) et al to do the actual alloc/freeing. */ extern void* VG_(cli_malloc) ( SizeT align, SizeT nbytes );