Commit c4560bd8 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Paul E. McKenney

tools/nolibc: tests: constify test_names

Nothing ever modifies this structure.
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 8c934d48
...@@ -717,7 +717,7 @@ int prepare(void) ...@@ -717,7 +717,7 @@ int prepare(void)
} }
/* This is the definition of known test names, with their functions */ /* 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 */ /* add new tests here */
{ .name = "syscall", .func = run_syscall }, { .name = "syscall", .func = run_syscall },
{ .name = "stdlib", .func = run_stdlib }, { .name = "stdlib", .func = run_stdlib },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment