On 31/08/2020 10:27, Aschref Ben-Thabet wrote:

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

Add a prototxpe

prototype, please use a spell checker in your editor.


for the function rtems_main_o5
Use rtems_main_o5() for functions.
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"
-
Why remove this 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