commit | 784696fdb90ce7f06c50f67fe4d556f43b45ca21 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Fri Oct 27 20:33:55 2023 +0800 |
committer | Ken Chen <cken@google.com> | Sat Oct 28 02:46:22 2023 +0800 |
tree | 61e62201b4cbf30c26ef16505b156cdda9571013 | |
parent | 00fd12588f8c02b71339eb01c4d3b191fd54939a [diff] |
Move is_system_uid utility from netd.c to netd.h 1. Move it to header file so that it can be reused by others. 2. Correct the return type from int to bool. 3. Replace __always_inline by inline to avoid -Werror,-Wunused-function. Bug: 288340533 Test: build Change-Id: I9062686d9c2f98c2d24e4673f82b1732b180ffc4