tony2001 Wed Jan 18 23:55:47 2006 UTC Modified files: (Branch: PHP_5_1) /php-src/ext/standard cyr_convert.c filters.c Log: MFH: couple of pedantic fixes: "static" should be first http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/cyr_convert.c?r1=1.27.2.2&r2=1.27.2.3&diff_format=u Index: php-src/ext/standard/cyr_convert.c diff -u php-src/ext/standard/cyr_convert.c:1.27.2.2 php-src/ext/standard/cyr_convert.c:1.27.2.3 --- php-src/ext/standard/cyr_convert.c:1.27.2.2 Sun Jan 1 12:50:14 2006 +++ php-src/ext/standard/cyr_convert.c Wed Jan 18 23:55:47 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cyr_convert.c,v 1.27.2.2 2006/01/01 12:50:14 sniper Exp $ */ +/* $Id: cyr_convert.c,v 1.27.2.3 2006/01/18 23:55:47 tony2001 Exp $ */ #include <stdlib.h> @@ -47,9 +47,9 @@ typedef unsigned char _cyr_charset_table[512]; -/* {{{ const static _cyr_charset_table _cyr_win1251 +/* {{{ static const _cyr_charset_table _cyr_win1251 */ -const static _cyr_charset_table _cyr_win1251 = { +static const _cyr_charset_table _cyr_win1251 = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47, http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/filters.c?r1=1.44.2.4&r2=1.44.2.5&diff_format=u Index: php-src/ext/standard/filters.c diff -u php-src/ext/standard/filters.c:1.44.2.4 php-src/ext/standard/filters.c:1.44.2.5 --- php-src/ext/standard/filters.c:1.44.2.4 Thu Jan 12 19:23:58 2006 +++ php-src/ext/standard/filters.c Wed Jan 18 23:55:47 2006 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: filters.c,v 1.44.2.4 2006/01/12 19:23:58 helly Exp $ */ +/* $Id: filters.c,v 1.44.2.5 2006/01/18 23:55:47 tony2001 Exp $ */ #include "php.h" #include "php_globals.h" @@ -641,7 +641,7 @@ size_t icnt, ocnt; unsigned int ustat; - const static unsigned int nbitsof_pack = 8; + static const unsigned int nbitsof_pack = 8; if (in_pp == NULL || in_left_p == NULL) { if (inst->eos || inst->urem_nbits == 0) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php