idl: Generalize special case boolean exception.
authorEthan Jackson <ethan@nicira.com>
Wed, 8 Feb 2012 22:42:03 +0000 (14:42 -0800)
committerEthan Jackson <ethan@nicira.com>
Thu, 9 Feb 2012 05:26:29 +0000 (21:26 -0800)
commit1bf2c909685893c75f61c63a41928c9ec11c06f1
tree8315cf1e34823b2cbb42da32d08b5f24e50ba6ec
parent9cc6bf75e87ce356ee99b3f343bc125772dce2e5
idl: Generalize special case boolean exception.

Sparse doesn't like taking sizeof boolean values.  The idl had
worked around this limitation with a special case in the case of
optional booleans.  A future patch needs an array with boolean
values which the existing special case did not handle.  This patch
generalizes the special case to handle this situation as well.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ovsdb/ovsdb-idlc.in