# HG changeset patch # User mru # Date 1264130711 0 # Node ID e89d42c1effa3f0b995ebe67e179692d998ab604 # Parent 1672d4566595ec1df447fafb1fe19827ce6f4c48 Move array specifiers outside DECLARE_ALIGNED() invocations diff -r 1672d4566595 -r e89d42c1effa des.c --- a/des.c Thu Jan 21 12:59:22 2010 +0000 +++ b/des.c Fri Jan 22 03:25:11 2010 +0000 @@ -339,10 +339,10 @@ } static const uint8_t test_key[] = {0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0}; -static const DECLARE_ALIGNED(8, uint8_t, plain[]) = {0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10}; -static const DECLARE_ALIGNED(8, uint8_t, crypt[]) = {0x4a, 0xb6, 0x5b, 0x3d, 0x4b, 0x06, 0x15, 0x18}; -static DECLARE_ALIGNED(8, uint8_t, tmp[8]); -static DECLARE_ALIGNED(8, uint8_t, large_buffer[10002][8]); +static const DECLARE_ALIGNED(8, uint8_t, plain)[] = {0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10}; +static const DECLARE_ALIGNED(8, uint8_t, crypt)[] = {0x4a, 0xb6, 0x5b, 0x3d, 0x4b, 0x06, 0x15, 0x18}; +static DECLARE_ALIGNED(8, uint8_t, tmp)[8]; +static DECLARE_ALIGNED(8, uint8_t, large_buffer)[10002][8]; static const uint8_t cbc_key[] = { 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0x01,