On 31/08/2020 12:37, Aschref Ben-Thabet wrote:

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.

Please write it like this:

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"
-
There is no need to remove this blank line.
  #include <inttypes.h>
  #include <rtems/test-info.h>
+int rtems_main_o5 (void);
+
  int rtems_main_o5 (void)
  {
    /* duplicate symbol in archive */
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to