On 5.05.2022 10:31, Ole Kristian Lona via openwrt-devel wrote:
> +/** Flash partition names table entry */
> +struct factory_partition_names {
> +  char *partition_table;
> +  char *soft_ver;
> +  char *os_image;
> +  char *file_system;
> +  char *extra_para;
> +};

Use "const char *" for each.

You'll also need to adjust "struct flash_partition_entry" (add const
there too).

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to