From: Aschref Ben Thabet <aschref.ben-tha...@embedded-brains.de>

Add a prototype for the function rtems_main_o5() to avoid the prototype
missing warning.
---
 testsuites/libtests/dl10/dl10-o6.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testsuites/libtests/dl10/dl10-o6.c 
b/testsuites/libtests/dl10/dl10-o6.c
index ab6deb189d..e40bdfc46a 100644
--- a/testsuites/libtests/dl10/dl10-o6.c
+++ b/testsuites/libtests/dl10/dl10-o6.c
@@ -11,7 +11,8 @@
 #include <inttypes.h>
 #include <rtems/test-info.h>
 
-int rtems_main_o5 (void)
+int rtems_main_o5(void);
+int rtems_main_o5(void)
 {
   /* duplicate symbol in archive */
   return 0;
-- 
2.26.2

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to