Skip to contentSkip to conversation

openposix: threads_scenarii: Fix a warnings.

PATCH New Cyril Hrubis 1 participant 1 message Nov 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openposix: threads_scenarii: Fix a warnings.

Fix many warnings caused by non-static declaration of the threaded() function in the threads_scenarii.c.

---
 .../conformance/interfaces/testfrmw/threads_scenarii.c          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/open_posix_testsuite/conformance/interfaces/testfrmw/threads_scenarii.c +1 -1
index 4597c43e8..baf30a87c 100644
@@ -486,7 +486,7 @@ static unsigned int sc;
 
 #ifdef STD_MAIN
 
-extern void *threaded(void *arg);
+static void *threaded(void *arg);
 
 int main(void)
 {
Signature · 1 line
2.26.2