summaryrefslogtreecommitdiffstats
path: root/LICENSE.LGPL2.1
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 /LICENSE.LGPL2.1
parentFix "attribute 'packed' is ignored" warnings when using Clang (diff)
downloadsystemd-80701564cdd020318064f55c3f7c447df0b2cd24.tar.xz
systemd-80701564cdd020318064f55c3f7c447df0b2cd24.zip
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 'LICENSE.LGPL2.1')
0 files changed, 0 insertions, 0 deletions