On 30/11/18 1:37, Ben Chan wrote:
> This patch fixes the following compiler warning:
> 
> mmcli-output.c:783:19: error: implicitly declaring library function 'strlen' 
> with type 'unsigned long (const char *)' 
> [-Werror,-Wimplicit-function-declaration]
>             aux = strlen 
> (section_infos[field_infos[item_l->field].section].name);
>                   ^
> ---

Pushed to git master, thanks

>  cli/mmcli-output.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/cli/mmcli-output.c b/cli/mmcli-output.c
> index 245aeed1..ac7dc333 100644
> --- a/cli/mmcli-output.c
> +++ b/cli/mmcli-output.c
> @@ -19,6 +19,7 @@
>   */
>  
>  #include <stdio.h>
> +#include <string.h>
>  
>  #include <libmm-glib.h>
>  #include "mm-common-helpers.h"
> 


-- 
Aleksander
https://aleksander.es
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to