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 /** Thread-specific state for the stubs functions
**/ **/
pthread_once_t the_once = PTHREAD_ONCE_INIT; static pthread_once_t the_once = PTHREAD_ONCE_INIT;
pthread_key_t the_key; static pthread_key_t the_key;
typedef struct { typedef struct {
struct passwd passwd; struct passwd passwd;