[PATCH] testsuits/dl10 : Prototype missing

Aschref Ben-Thabet aschref.ben-thabet at embedded-brains.de
Tue Sep 15 09:05:00 UTC 2020


From: Aschref Ben Thabet <aschref.ben-thabet at 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



More information about the devel mailing list