[dpdk-dev] [PATCH v2] eal: support strlcat function

Pattan, Reshma reshma.pattan at intel.com
Thu Jan 17 18:05:01 CET 2019



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson
> 3f091ab92..3bd8ed5d8 100644
> --- a/test/test/test_string_fns.c
> +++ b/test/test/test_string_fns.c
> @@ -129,11 +129,56 @@ test_rte_strsplit(void)
>  	return 0;
>  }
> 
> +int
> +test_rte_strlcat(void)
> +{


test_string_fns.c:133:1: error: no previous prototype for 'test_rte_strlcat' [-Werror=missing-prototypes]
 test_rte_strlcat(void)
 ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

function return type should be static int.

Thanks,
Reshma


More information about the dev mailing list