[PATCH 5/5] lib: fwts_log_html: constify fwts_log_html_ascii_table[]

Colin King colin.king at canonical.com
Wed Oct 19 12:37:55 UTC 2016


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[] = {
 	{ '"',	""" },
 	{ '&', 	"&" },
 	{ '<', 	"<" },
-- 
2.9.3




More information about the fwts-devel mailing list