mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
unicode: make utf8 test count static
The variables failed_tests and total_tests are not used outside of the utf8-selftest.c file so make them static to avoid the following warnings: fs/unicode/utf8-selftest.c:17:14: warning: symbol 'failed_tests' was not declared. Should it be static? fs/unicode/utf8-selftest.c:18:14: warning: symbol 'total_tests' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Link: https://lore.kernel.org/r/20240308183215.1924331-1-ben.dooks@codethink.co.uk Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
This commit is contained in:
parent
6ba59ff422
commit
7bd3d76a1f
@ -14,8 +14,8 @@
|
||||
|
||||
#include "utf8n.h"
|
||||
|
||||
unsigned int failed_tests;
|
||||
unsigned int total_tests;
|
||||
static unsigned int failed_tests;
|
||||
static unsigned int total_tests;
|
||||
|
||||
/* Tests will be based on this version. */
|
||||
#define UTF8_LATEST UNICODE_AGE(12, 1, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user