From: Antony Dovgal Date: Wed, 18 Jan 2006 23:55:27 +0000 (+0000) Subject: couple of pedantic fixes: "static" should be first X-Git-Tag: RELEASE_0_9_4~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c83190514fd7ac3c718c0fd67570b361c3c4ce52;p=php couple of pedantic fixes: "static" should be first --- diff --git a/ext/standard/cyr_convert.c b/ext/standard/cyr_convert.c index 2563f124ba..b09346a274 100644 --- a/ext/standard/cyr_convert.c +++ b/ext/standard/cyr_convert.c @@ -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, diff --git a/ext/standard/filters.c b/ext/standard/filters.c index 550c2875ec..a365549363 100644 --- a/ext/standard/filters.c +++ b/ext/standard/filters.c @@ -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) {