[LTP] [PATCH] [COMMITTED] openposix: threads_scenarii: Fix a warnings.
Cyril Hrubis
chrubis@suse.cz
Fri Nov 13 17:07:03 CET 2020
Fix many warnings caused by non-static declaration of the threaded()
function in the threads_scenarii.c.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
.../conformance/interfaces/testfrmw/threads_scenarii.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/threads_scenarii.c b/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/threads_scenarii.c
index 4597c43e8..baf30a87c 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/threads_scenarii.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/threads_scenarii.c
@@ -486,7 +486,7 @@ static unsigned int sc;
#ifdef STD_MAIN
-extern void *threaded(void *arg);
+static void *threaded(void *arg);
int main(void)
{
--
2.26.2
More information about the ltp
mailing list