public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v1 1/1] doc/c-test-api.txt: fix broken example code
@ 2023-08-24  1:33 Souta Kawahara
  2023-08-24  6:12 ` [LTP] [PATCH v2 1/1] " Souta Kawahara
  0 siblings, 1 reply; 3+ messages in thread
From: Souta Kawahara @ 2023-08-24  1:33 UTC (permalink / raw)
  To: ltp

There is double definition of 'test'.
Fixed it.

Signed-off-by: Souta Kawahara <souta.kawahara@miraclelinux.com>
---
 doc/c-test-api.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/c-test-api.txt b/doc/c-test-api.txt
index e4e88edec..560a1a203 100644
--- a/doc/c-test-api.txt
+++ b/doc/c-test-api.txt
@@ -36,7 +36,7 @@ static void setup(void)
 		tst_brk(TBROK | TERRNO, "setenv() failed");
 }
 
-static void test(void)
+static void run(void)
 {
 	char *ret;
 
@@ -64,7 +64,7 @@ next:
 }
 
 static struct tst_test test = {
-	.test_all = test,
+	.test_all = run,
 	.setup = setup,
 };
 -------------------------------------------------------------------------------
-- 
2.25.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-24  6:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-24  1:33 [LTP] [PATCH v1 1/1] doc/c-test-api.txt: fix broken example code Souta Kawahara
2023-08-24  6:12 ` [LTP] [PATCH v2 1/1] " Souta Kawahara
2023-08-24  6:54   ` Avinesh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox