* commit '687c7e3ece0f485c79654ca0c4da15b86b1f8a7f': Don't export unnecessary symbol.
This commit is contained in:
commit
2837f83068
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ unsigned int gMallocDebugBacklog;
|
|||
int gMallocDebugLevel;
|
||||
|
||||
template<typename FunctionType>
|
||||
void InitMallocFunction(void* malloc_impl_handler, FunctionType* func, const char* prefix, const char* suffix) {
|
||||
static void InitMallocFunction(void* malloc_impl_handler, FunctionType* func, const char* prefix, const char* suffix) {
|
||||
char symbol[128];
|
||||
snprintf(symbol, sizeof(symbol), "%s_%s", prefix, suffix);
|
||||
*func = reinterpret_cast<FunctionType>(dlsym(malloc_impl_handler, symbol));
|
||||
|
|
Loading…
Reference in a new issue