diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-03-25 16:45:11 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-03-27 16:26:10 -0700 |
commit | c4560bd8066311c7cee5d7396e7fbd7cb3b7eabc (patch) | |
tree | d99c09a1fdeaedb37a302a73db5275412199e612 /tools/testing/selftests/nolibc | |
parent | tools/nolibc: add helpers for wait() signal exits (diff) | |
download | wireguard-linux-c4560bd8066311c7cee5d7396e7fbd7cb3b7eabc.tar.xz wireguard-linux-c4560bd8066311c7cee5d7396e7fbd7cb3b7eabc.zip |
tools/nolibc: tests: constify test_names
Nothing ever modifies this structure.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/nolibc')
-rw-r--r-- | tools/testing/selftests/nolibc/nolibc-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index 6a7c13f0cd61..fb2d4872fac9 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -717,7 +717,7 @@ int prepare(void) } /* This is the definition of known test names, with their functions */ -static struct test test_names[] = { +static const struct test test_names[] = { /* add new tests here */ { .name = "syscall", .func = run_syscall }, { .name = "stdlib", .func = run_stdlib }, |