浏览代码

xml: Add const modifier to kxml_tags

Serj Kalichev 3 年之前
父节点
当前提交
53814abffe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      klish/kdb/xml-common/load.c

+ 1 - 1
klish/kdb/xml-common/load.c

@@ -46,7 +46,7 @@ typedef enum {
 	KTAG_MAX
 } ktags_e;
 
-static const char *kxml_tags[] = {
+static const char * const kxml_tags[] = {
 	NULL,
 	"ACTION",
 	"PARAM",