Yama: mark local symbols as static
authorJann Horn <jannh@google.com>
Tue, 26 Mar 2019 23:08:41 +0000 (00:08 +0100)
committerJames Morris <james.morris@microsoft.com>
Wed, 10 Apr 2019 17:23:42 +0000 (10:23 -0700)
commit1b26fcdb748eb20a73f72900d7f5ab537b2809be
tree07c79eb1d3e641214483810cf6e67e4a5a45f399
parent8d93e952fba216cd0811247f6360d97e0465d5fc
Yama: mark local symbols as static

sparse complains that Yama defines functions and a variable as non-static
even though they don't exist in any header. Fix it by making them static.

Signed-off-by: Jann Horn <jannh@google.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
security/yama/yama_lsm.c