Merge "Change some globals to static"

This commit is contained in:
TreeHugger Robot
2019-10-11 21:20:26 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -139,8 +139,8 @@ static stat_field_names stat_field_names[_NUM_CORE_HEAP] = {
"nativePrivateClean", "nativeSharedClean", "nativeSwappedOut", "nativeSwappedOutPss" }
};
jfieldID otherStats_field;
jfieldID hasSwappedOutPss_field;
static jfieldID otherStats_field;
static jfieldID hasSwappedOutPss_field;
struct stats_t {
int pss;

View File

@@ -108,7 +108,7 @@ static struct arraymap_offsets_t {
jmethodID put;
} gArrayMapOffsets;
jclass g_stringClass = nullptr;
static jclass g_stringClass = nullptr;
// ----------------------------------------------------------------------------