ACK: [PATCH 5/5] lib: fwts_log_html: constify fwts_log_html_ascii_table[]
Alex Hung
alex.hung at canonical.com
Wed Oct 19 17:29:18 UTC 2016
On 2016-10-19 05:37 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/lib/src/fwts_log_html.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/lib/src/fwts_log_html.c b/src/lib/src/fwts_log_html.c
> index d1ab56b..72f9c7e 100644
> --- a/src/lib/src/fwts_log_html.c
> +++ b/src/lib/src/fwts_log_html.c
> @@ -44,7 +44,7 @@ typedef struct {
> * ISO 10646, ISO 8879, ISO 8859-1 Latin alphabet No. 1
> * Browser support: All browsers
> */
> -static fwts_log_html_ascii_t fwts_log_html_ascii_table[] = {
> +static const fwts_log_html_ascii_t fwts_log_html_ascii_table[] = {
> { '"', """ },
> { '&', "&" },
> { '<', "<" },
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list