am e8dc673c
: Merge "Don\'t export unnecessary symbol."
* commit 'e8dc673ca56556389ad06ce1bb55e6624b4db721': Don't export unnecessary symbol.
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user