tony2001                Wed Jan 18 23:55:27 2006 UTC

  Modified files:              
    /php-src/ext/standard       cyr_convert.c filters.c 
  Log:
  couple of pedantic fixes: "static" should be first
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/cyr_convert.c?r1=1.29&r2=1.30&diff_format=u
Index: php-src/ext/standard/cyr_convert.c
diff -u php-src/ext/standard/cyr_convert.c:1.29 
php-src/ext/standard/cyr_convert.c:1.30
--- php-src/ext/standard/cyr_convert.c:1.29     Sun Jan  1 13:09:55 2006
+++ php-src/ext/standard/cyr_convert.c  Wed Jan 18 23:55:27 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: cyr_convert.c,v 1.29 2006/01/01 13:09:55 sniper Exp $ */
+/* $Id: cyr_convert.c,v 1.30 2006/01/18 23:55:27 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.50&r2=1.51&diff_format=u
Index: php-src/ext/standard/filters.c
diff -u php-src/ext/standard/filters.c:1.50 php-src/ext/standard/filters.c:1.51
--- php-src/ext/standard/filters.c:1.50 Thu Jan 12 19:23:24 2006
+++ php-src/ext/standard/filters.c      Wed Jan 18 23:55:27 2006
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: filters.c,v 1.50 2006/01/12 19:23:24 helly Exp $ */
+/* $Id: filters.c,v 1.51 2006/01/18 23:55:27 tony2001 Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -716,7 +716,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

Reply via email to