From 35c1862cdfcd87b5ef6c59128b9993efffafe88b Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Thu, 3 Oct 2013 14:59:05 -0700 Subject: [PATCH] Don't export unnecessary symbol. Change-Id: I8b1d75a08476c41dd8e3f09fc93a3df617928f88 --- libc/bionic/malloc_debug_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/bionic/malloc_debug_common.cpp b/libc/bionic/malloc_debug_common.cpp index ccceb1441..e33405e7b 100644 --- a/libc/bionic/malloc_debug_common.cpp +++ b/libc/bionic/malloc_debug_common.cpp @@ -293,7 +293,7 @@ unsigned int gMallocDebugBacklog; int gMallocDebugLevel; template -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(dlsym(malloc_impl_handler, symbol));