ovsdb-idlc: Constify 'char **'.
authorRussell Bryant <rbryant@redhat.com>
Thu, 19 Feb 2015 18:10:51 +0000 (13:10 -0500)
committerBen Pfaff <blp@nicira.com>
Thu, 19 Feb 2015 18:12:19 +0000 (10:12 -0800)
commit470582937d2722e1602e8366a42f7a077dce3616
treeb6618677d239a5bc3d28d4fb6754c57a1f182330
parenta59cf6954e434fca6499de1686b3e8c82f824176
ovsdb-idlc: Constify 'char **'.

Update the logic used in constify() to add const to a 'char **' while
still excluding all other cases of more than one level of indirection.

This results in adding const to a parameter of a generated setter
function where we're generally passing in array of constant strings.
As a result, this patch includes the other necessary fixes to the code
base to reflect the const addition.

Signed-off-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ovsdb/ovsdb-idlc.in
vswitchd/bridge.c