From: Joe Orton Date: Thu, 17 Feb 2005 15:05:16 +0000 (+0000) Subject: Declare error_mapping array as static and more const. X-Git-Tag: RELEASE_0_2_4~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f4cb653003c1f2c952cfb34cbe321fb099cbc31;p=php Declare error_mapping array as static and more const. --- 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",