Merge "Fix function return type" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-02-03 03:47:34 +00:00
committed by Android (Google) Code Review

View File

@@ -123,7 +123,7 @@ static int getAnonPageAdvice(const Vma& vma) {
}
return -1;
}
static bool getAnyPageAdvice(const Vma& vma) {
static int getAnyPageAdvice(const Vma& vma) {
if (vma.inode == 0 && !vma.is_shared) {
return MADV_PAGEOUT;
}