]> granicus.if.org Git - php/commitdiff
Declare error_mapping array as static and more const.
authorJoe Orton <jorton@php.net>
Thu, 17 Feb 2005 15:05:16 +0000 (15:05 +0000)
committerJoe Orton <jorton@php.net>
Thu, 17 Feb 2005 15:05:16 +0000 (15:05 +0000)
ext/xml/compat.c

index 2b877e1ecb130fcd5dcbe33d58cec45266514eb0..b51d0e8a4a5f216d3f10bbef484376a2ae1fe6cb 100644 (file)
@@ -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",