chiark / gitweb /
Fix "attribute 'packed' is ignored" warnings when using Clang
authorRichard Yao <ryao@gentoo.org>
Sun, 18 Nov 2012 19:55:10 +0000 (14:55 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Dec 2012 09:43:58 +0000 (10:43 +0100)
commite683136da1b2f0961e19b35634bea7f31ee310ac
tree0f2fed134bb75ab736312a0a8331d666071fbe48
parent378cf88f72a9cda84baf703ed24f54c8c539fdcf
Fix "attribute 'packed' is ignored" warnings when using Clang

Clang 3.1 warned that "attribute 'packed' is ignored". This stems from
placing "__attribute__ ((packed))" at the start of structure
declarations when common practice is to place it at the end.

Signed-off-by: Richard Yao <ryao@gentoo.org>
src/libudev/libudev-hwdb-def.h