[PATCH v2] testsuits/dl10 : Prototype missing
Aschref Ben-Thabet
aschref.ben-thabet at embedded-brains.de
Mon Aug 31 10:37:20 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..9a34640396 100644
--- a/testsuites/libtests/dl10/dl10-o6.c
+++ b/testsuites/libtests/dl10/dl10-o6.c
@@ -7,10 +7,11 @@
*/
#include "dl-load.h"
-
#include <inttypes.h>
#include <rtems/test-info.h>
+int rtems_main_o5 (void);
+
int rtems_main_o5 (void)
{
/* duplicate symbol in archive */
--
2.26.2
More information about the devel
mailing list