Char/HChar and constness fixes. Mostly cost center

on allocators which is always a const HChar *


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13089
This commit is contained in:
Florian Krohm
2012-10-27 23:07:42 +00:00
parent 5337376bf2
commit 25b18b0aa1
30 changed files with 141 additions and 136 deletions

View File

@@ -53,8 +53,8 @@ typedef struct _PoolAlloc PoolAlloc;
is, if it returns it must have succeeded.) */
PoolAlloc* VG_(newPA) ( UWord elemSzB,
UWord nPerPool,
void* (*alloc)(HChar*, SizeT),
HChar* cc,
void* (*alloc)(const HChar*, SizeT),
const HChar* cc,
void (*free_fn)(void*) );