ANDROID: fips140: add missing static keyword to fips140_init()

Avoid a compiler warning about there being no previous declaration for
fips140_init().

Bug: 153614920
Bug: 188620248
Change-Id: I8192c597d16ff6f43a0e9cb45a89969666b3875e
Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
Eric Biggers 2021-07-02 16:25:22 -07:00
parent 70bfd6a7e0
commit 091338cb39

View File

@ -523,7 +523,8 @@ static bool update_fips140_library_routines(void)
* let's disable CFI locally when handling the initcall array, to avoid * let's disable CFI locally when handling the initcall array, to avoid
* surpises. * surpises.
*/ */
int __init __attribute__((__no_sanitize__("cfi"))) fips140_init(void) static int __init __attribute__((__no_sanitize__("cfi")))
fips140_init(void)
{ {
const u32 *initcall; const u32 *initcall;