jorton Wed May 11 08:54:32 2005 EDT Modified files: /php-src/ext/standard html.c Log: Mark pointers in entity tables as const. http://cvs.php.net/diff.php/php-src/ext/standard/html.c?r1=1.108&r2=1.109&ty=u Index: php-src/ext/standard/html.c diff -u php-src/ext/standard/html.c:1.108 php-src/ext/standard/html.c:1.109 --- php-src/ext/standard/html.c:1.108 Wed May 11 08:43:07 2005 +++ php-src/ext/standard/html.c Wed May 11 08:54:29 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: html.c,v 1.108 2005/05/11 12:43:07 jorton Exp $ */ +/* $Id: html.c,v 1.109 2005/05/11 12:54:29 jorton Exp $ */ /* * HTML entity resources: @@ -60,7 +60,7 @@ cs_big5hkscs, cs_sjis, cs_eucjp, cs_koi8r, cs_cp1251, cs_8859_5, cs_cp866, cs_macroman }; -typedef const char *entity_table_t; +typedef const char *const entity_table_t; /* codepage 1252 is a Windows extension to iso-8859-1. */ static entity_table_t ent_cp_1252[] = {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php