]> git.proxmox.com Git - mirror_ovs.git/commit
CodingStyle: Relax restrictions on types of bit-fields.
authorBen Pfaff <blp@nicira.com>
Thu, 28 Aug 2014 15:50:13 +0000 (08:50 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 28 Aug 2014 15:50:13 +0000 (08:50 -0700)
commit8721a6e2f00fbaedaafa414cc74cf1ca66c177be
treeb3c49f41ee7da33d56f1205ab138410ac1ead07e
parentbd9d70250b2ebffe43a8863b89bf9b3157a940d6
CodingStyle: Relax restrictions on types of bit-fields.

C99 only requires compilers to support four types for bit-fields: signed
int, unsigned int, int, and _Bool.  "int" should not be used because it
is implementation-defined whether it is signed.  In practice, we have found
that compilers (in particular, GCC, Clang, and MSVC 2013) support any
integer type.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
CodingStyle