summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-01-18 23:55:47 +0000
committerAntony Dovgal <tony2001@php.net>2006-01-18 23:55:47 +0000
commit82d5901664436fd63cf319b33e2938aa7fcbce35 (patch)
tree9d66444404a42374a195bbf74d78a3d98dc865e7
parent864004d4d777a71086155ba83e19618e4734d029 (diff)
downloadphp-git-82d5901664436fd63cf319b33e2938aa7fcbce35.tar.gz
MFH: couple of pedantic fixes: "static" should be first
-rw-r--r--ext/standard/cyr_convert.c4
-rw-r--r--ext/standard/filters.c2
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) {