From 0007d65f72f122e8c8c6d8a78e74a5c262ecd604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20K=C3=BChndel?= Date: Mon, 5 Oct 2020 16:25:19 +0200 Subject: 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) | ^~~~~~~~~~~~~ --- testsuites/libtests/dl10/dl10-o6.c | 1 + 1 file changed, 1 insertion(+) 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 #include -- cgit v1.2.3