diff options
author | Jann Horn <jannh@google.com> | 2019-03-27 17:21:42 -0700 |
---|---|---|
committer | James Morris <james.morris@microsoft.com> | 2019-03-28 10:02:29 -0700 |
commit | 1aa176ef5a451adc0546d5aaa3fb107975c786b7 (patch) | |
tree | bd146382cca05e6425d796141ed6b7c814486a2a /lib/rational.c | |
parent | 8c7ae38d1ce12a0eaeba655df8562552b3596c7f (diff) | |
download | linux-stable-1aa176ef5a451adc0546d5aaa3fb107975c786b7.tar.gz linux-stable-1aa176ef5a451adc0546d5aaa3fb107975c786b7.tar.bz2 linux-stable-1aa176ef5a451adc0546d5aaa3fb107975c786b7.zip |
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.
Co-developed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Jann Horn <jannh@google.com>
[kees: merged similar static-ness fixes into a single patch]
Link: https://lkml.kernel.org/r/20190326230841.87834-1-jannh@google.com
Link: https://lkml.kernel.org/r/1553673018-19234-1-git-send-email-mojha@codeaurora.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions