forked from Imagelibrary/rtems
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)
| ^~~~~~~~~~~~~
This commit is contained in:
committed by
Sebastian Huber
parent
59d0e6aed1
commit
0007d65f72
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "dl-load.h"
|
||||
#include "dl-o5.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <rtems/test-info.h>
|
||||
|
||||
Reference in New Issue
Block a user