]> granicus.if.org Git - php/commitdiff
couple of pedantic fixes: "static" should be first
authorAntony Dovgal <tony2001@php.net>
Wed, 18 Jan 2006 23:55:27 +0000 (23:55 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 18 Jan 2006 23:55:27 +0000 (23:55 +0000)
ext/standard/cyr_convert.c
ext/standard/filters.c

index 2563f124badab3fd9b56b23a8ab748b58284915a..b09346a274dde651fd902765524d77022e9f43fb 100644 (file)
@@ -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,
index 550c2875ec28299bd0a75638699991c9592d5419..a36554936358df58fc636751d94ed9331a50f27f 100644 (file)
@@ -716,7 +716,7 @@ static php_conv_err_t php_conv_base64_decode_convert(php_conv_base64_decode *ins
        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) {