diff options
author | 2025-05-05 17:15:22 +0200 | |
---|---|---|
committer | 2025-05-21 15:32:31 +0200 | |
commit | c2bcc8e9577a35f9cf4707f8bb0b58bce30991aa (patch) | |
tree | 24fadc3fe69f7105d95214ff73b069561d6e1b1a /scripts/lib/kdoc/kdoc_parser.py | |
parent | selftests: harness: Ignore unused variant argument warning (diff) | |
download | linux-rng-c2bcc8e9577a35f9cf4707f8bb0b58bce30991aa.tar.xz linux-rng-c2bcc8e9577a35f9cf4707f8bb0b58bce30991aa.zip |
selftests: harness: Mark functions without prototypes static
With -Wmissing-prototypes the compiler will warn about non-static
functions which don't have a prototype defined.
As they are not used from a different compilation unit they don't need to
be defined globally.
Avoid the issue by marking the functions static.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250505-nolibc-kselftest-harness-v4-4-ee4dd5257135@linutronix.de
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions