[LTP] [PATCH v2 2/6] tst_run_shell: Make the tst_test struct static

Cyril Hrubis chrubis@suse.cz
Mon Jan 6 14:26:03 CET 2025


Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Suggested-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/lib/tst_run_shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/lib/tst_run_shell.c b/testcases/lib/tst_run_shell.c
index 0b86233dd..54463c04d 100644
--- a/testcases/lib/tst_run_shell.c
+++ b/testcases/lib/tst_run_shell.c
@@ -26,7 +26,7 @@ static void run_shell_tcnt(unsigned int n)
 	tst_run_script(shell_filename, params);
 }
 
-struct tst_test test = {
+static struct tst_test test = {
 	.runs_script = 1,
 };
 
-- 
2.45.2



More information about the ltp mailing list