[ovs-git] [openvswitch/ovs] 8721a6: CodingStyle: Relax restrictions on types of bit-fi...

GitHub noreply at github.com
Thu Aug 28 15:50:55 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 8721a6e2f00fbaedaafa414cc74cf1ca66c177be
      https://github.com/openvswitch/ovs/commit/8721a6e2f00fbaedaafa414cc74cf1ca66c177be
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2014-08-28 (Thu, 28 Aug 2014)

  Changed paths:
    M CodingStyle

  Log Message:
  -----------
  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 at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>




More information about the git mailing list