bionic: stubs: Make internal symbol static

Thread-specific state for the stubs functions should not be exposed to
applications.

Change-Id: I4d35dab6009dab8db7781671ac5cc9b5f6904e84
This commit is contained in:
Jim Huang 2010-10-15 02:21:14 +08:00
parent f67e5211e0
commit c940945155

View file

@ -40,8 +40,8 @@
/** Thread-specific state for the stubs functions
**/
pthread_once_t the_once = PTHREAD_ONCE_INIT;
pthread_key_t the_key;
static pthread_once_t the_once = PTHREAD_ONCE_INIT;
static pthread_key_t the_key;
typedef struct {
struct passwd passwd;