Message ID | 20161019123755.29811-6-colin.king@canonical.com |
---|---|
State | Accepted |
Headers | show |
On 2016-10-19 05:37 AM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > Signed-off-by: Colin Ian King <colin.king@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@canonical.com>
On 2016年10月19日 20:37, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > Signed-off-by: Colin Ian King <colin.king@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: Ivan Hu <ivan.hu@canonical.com>
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[] = { { '"', """ }, { '&', "&" }, { '<', "<" },