nlopess Fri Jan 25 20:04:10 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/ereg/regex cname.h
Log:
const'ify more 768 bytes
http://cvs.php.net/viewvc.cgi/php-src/ext/ereg/regex/cname.h?r1=1.3.36.2&r2=1.3.36.3&diff_format=u
Index: php-src/ext/ereg/regex/cname.h
diff -u php-src/ext/ereg/regex/cname.h:1.3.36.2
php-src/ext/ereg/regex/cname.h:1.3.36.3
--- php-src/ext/ereg/regex/cname.h:1.3.36.2 Fri Oct 5 15:00:06 2007
+++ php-src/ext/ereg/regex/cname.h Fri Jan 25 20:04:10 2008
@@ -1,6 +1,6 @@
/* character-name table */
-static struct cname {
- char *name;
+static const struct cname {
+ const char *name;
char code;
} cnames[] = {
{"NUL", '\0'},
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php