Revert "Make oom_score_adjust_is_valid() static"

This reverts commit 6bf3c6c900.
This commit is contained in:
Lennart Poettering
2021-07-28 18:39:41 +02:00
parent fac5588944
commit c4412d4d33
3 changed files with 6 additions and 5 deletions
+4
View File
@@ -1037,6 +1037,10 @@ bool is_main_thread(void) {
return cached > 0;
}
bool oom_score_adjust_is_valid(int oa) {
return oa >= OOM_SCORE_ADJ_MIN && oa <= OOM_SCORE_ADJ_MAX;
}
unsigned long personality_from_string(const char *p) {
int architecture;