# HG changeset patch # User diego # Date 1219176286 0 # Node ID 5a390781865270bd95f4863cb22793f0a1f5c52d # Parent 4a3f1b75285e24ce43406a37304af04fa3f0038e cosmetics: s/const static/static const/g patch by Mathieu Malaterre, mathieu.malaterre gmail com diff -r 4a3f1b75285e -r 5a3907818652 snow.c --- a/snow.c Tue Aug 19 19:25:00 2008 +0000 +++ b/snow.c Tue Aug 19 20:04:46 2008 +0000 @@ -2100,7 +2100,7 @@ } static void mc_block(Plane *p, uint8_t *dst, const uint8_t *src, uint8_t *tmp, int stride, int b_w, int b_h, int dx, int dy){ - const static uint8_t weight[64]={ + static const uint8_t weight[64]={ 8,7,6,5,4,3,2,1, 7,7,0,0,0,0,0,1, 6,0,6,0,0,0,2,0, @@ -2111,7 +2111,7 @@ 1,7,0,0,0,0,0,1, }; - const static uint8_t brane[256]={ + static const uint8_t brane[256]={ 0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x11,0x12,0x12,0x12,0x12,0x12,0x12,0x12, 0x04,0x05,0xcc,0xcc,0xcc,0xcc,0xcc,0x41,0x15,0x16,0xcc,0xcc,0xcc,0xcc,0xcc,0x52, 0x04,0xcc,0x05,0xcc,0xcc,0xcc,0x41,0xcc,0x15,0xcc,0x16,0xcc,0xcc,0xcc,0x52,0xcc, @@ -2130,7 +2130,7 @@ 0x48,0x85,0xcc,0xcc,0xcc,0xcc,0xcc,0x49,0x59,0x96,0xcc,0xcc,0xcc,0xcc,0xcc,0x5A, }; - const static uint8_t needs[16]={ + static const uint8_t needs[16]={ 0,1,0,0, 2,4,2,0, 0,1,0,0,