summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-12-17 11:38:47 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-12-17 11:41:31 +0100
commit80701564cdd020318064f55c3f7c447df0b2cd24 (patch)
treec01b874974fc83c9a65acb67a3f791891717f346 /test
parente683136da1b2f0961e19b35634bea7f31ee310ac (diff)
journal: move _packed_ attribute to the end
GCC manual states that "For an enum, struct or union type, you may specify attributes either between the enum, struct or union tag and the name of the type, or just past the closing curly brace of the definition. The former syntax is preferred." This means that the attribute should not be located before 'struct'. Putting it between 'struct' and the name seems cluttered. Putting it at the end seems most readable. This avoids clang warnings.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions