diff options
author | Frank Kühndel <frank.kuehndel@embedded-brains.de> | 2020-10-05 16:25:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-10 15:03:14 +0200 |
commit | 0007d65f72f122e8c8c6d8a78e74a5c262ecd604 (patch) | |
tree | 3decb6662be8d1eaa3c717f6bf2e211d87a7d69e /testsuites/libtests | |
parent | capture: Fix unaligned pointer value warning (diff) | |
download | rtems-0007d65f72f122e8c8c6d8a78e74a5c262ecd604.tar.bz2 |
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)
| ^~~~~~~~~~~~~
Diffstat (limited to 'testsuites/libtests')
-rw-r--r-- | testsuites/libtests/dl10/dl10-o6.c | 1 |
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> |