From 82d5901664436fd63cf319b33e2938aa7fcbce35 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 18 Jan 2006 23:55:47 +0000 Subject: [PATCH] MFH: couple of pedantic fixes: "static" should be first --- ext/standard/cyr_convert.c | 4 ++-- ext/standard/filters.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 3f9fa35c5d..ccd6eec784 100644 --- a/ext/standard/filters.c +++ b/ext/standard/filters.c @@ -641,7 +641,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) { -- 2.40.0