Move a function and its prototype VG_(malloc_effective_client_redzone_size)

to a conceptually better place.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13546
This commit is contained in:
Florian Krohm
2013-09-15 09:18:03 +00:00
parent 14c1c10305
commit e4c80fed1e
5 changed files with 27 additions and 19 deletions

View File

@@ -65,6 +65,14 @@ extern UInt VG_(clo_alignment);
extern Bool VG_(replacement_malloc_process_cmd_line_option) ( const HChar* arg );
// If tool is replacing malloc for the client, the below returns
// the effective client redzone as derived from the default
// provided by the tool, VG_(clo_redzone_size) and the minimum
// redzone required by m_mallocfree.c.
// It is an error to call this before VG_(needs_malloc_replacement) has
// been called.
extern SizeT VG_(malloc_effective_client_redzone_size)(void);
#endif // __PUB_TOOL_REPLACEMALLOC_H
/*--------------------------------------------------------------------*/