Switch to g_ for globals.
That's what the Google style guide recommends, and we're starting to get a mix. Change-Id: Ib0c53a890bb5deed5c679e887541a715faea91fc
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static pthread_mutex_t gAbortMsgLock = PTHREAD_MUTEX_INITIALIZER;
|
||||
static pthread_mutex_t g_abort_msg_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
__LIBC_HIDDEN__ abort_msg_t** __abort_message_ptr; // Accessible to __libc_init_common.
|
||||
|
||||
@@ -643,7 +643,7 @@ void __libc_fatal(const char* format, ...) {
|
||||
}
|
||||
|
||||
void __android_set_abort_message(const char* msg) {
|
||||
ScopedPthreadMutexLocker locker(&gAbortMsgLock);
|
||||
ScopedPthreadMutexLocker locker(&g_abort_msg_lock);
|
||||
|
||||
if (__abort_message_ptr == NULL) {
|
||||
// We must have crashed _very_ early.
|
||||
|
||||
Reference in New Issue
Block a user