summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank K├╝hndel <frank.kuehndel@embedded-brains.de>2020-10-05 16:25:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-10 15:03:14 +0200
commit0007d65f72f122e8c8c6d8a78e74a5c262ecd604 (patch)
tree3decb6662be8d1eaa3c717f6bf2e211d87a7d69e
parent59d0e6aed1efea068cea13651dc1d2b7c2809fc0 (diff)
testsuits/dl10 : Prototype missing
Fix a compiler warning about a missing prototype. If you wonder why the function name is not `static`: The code in the file only serves a test where the dynamic object loader (aka dlopen()) should handle duplicated symbols in an archive. testsuites/libtests/dl10/dl10-o6.c:14:5: warning: no previous prototype for 'rtems_main_o5' [-Wmissing-prototypes] 14 | int rtems_main_o5 (void) | ^~~~~~~~~~~~~
-rw-r--r--testsuites/libtests/dl10/dl10-o6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/libtests/dl10/dl10-o6.c b/testsuites/libtests/dl10/dl10-o6.c
index ab6deb189d..2ac80277f5 100644
--- a/testsuites/libtests/dl10/dl10-o6.c
+++ b/testsuites/libtests/dl10/dl10-o6.c
@@ -7,6 +7,7 @@
*/
#include "dl-load.h"
+#include "dl-o5.h"
#include <inttypes.h>
#include <rtems/test-info.h>