[PATCH] testsuits/dl10 : Prototype missing

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Aug 31 08:41:32 UTC 2020


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

> From: Aschref Ben Thabet <aschref.ben-thabet at 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 */


More information about the devel mailing list