summaryrefslogtreecommitdiff
path: root/ext/xml/compat.c
diff options
context:
space:
mode:
authorJoe Orton <jorton@php.net>2005-02-17 15:05:16 +0000
committerJoe Orton <jorton@php.net>2005-02-17 15:05:16 +0000
commit4f4cb653003c1f2c952cfb34cbe321fb099cbc31 (patch)
tree0db49aefac19d371c0d143565bd0d90045ea7a10 /ext/xml/compat.c
parent5f243d7af75df29afea19da590b0cea10854ce91 (diff)
downloadphp-git-4f4cb653003c1f2c952cfb34cbe321fb099cbc31.tar.gz
Declare error_mapping array as static and more const.
Diffstat (limited to 'ext/xml/compat.c')
-rw-r--r--ext/xml/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xml/compat.c b/ext/xml/compat.c
index 2b877e1ecb..b51d0e8a4a 100644
--- a/ext/xml/compat.c
+++ b/ext/xml/compat.c
@@ -497,7 +497,7 @@ XML_GetErrorCode(XML_Parser parser)
return parser->parser->errNo;
}
-const XML_Char *error_mapping[] = {
+static const XML_Char *const error_mapping[] = {
"No error",
"Internal error",
"No memory",