check-structs: Disallow uint<N>_t because ovs_be<N> should always be used.
authorBen Pfaff <blp@nicira.com>
Mon, 2 Apr 2012 16:06:11 +0000 (09:06 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 2 Apr 2012 16:06:11 +0000 (09:06 -0700)
commitcd03c7c85997b24070ee20c5995cefac47447e40
tree862b41a5c67e089ab3b0918adc8bf10807c83f24
parent6b05acf8171a3fdb4f55a12f8af55cc25f222657
check-structs: Disallow uint<N>_t because ovs_be<N> should always be used.

The header files that check-structs checks should only contain big-endian
data, never native-endian data, so disallow uint<N>_t entirely.  (We had
a couple of mistakes in this area until recently.)

uint8_t is an obvious exception.

Reported-by: Simon Horman <horms@verge.net.au>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
build-aux/check-structs
tests/check-structs.at