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); ^ --- 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" -- 2.20.0.rc0.387.gc7a69e6b6c-goog _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel