[ovs-git] [openvswitch/ovs] 470582: ovsdb-idlc: Constify 'char **'.
noreply at github.com
Thu Feb 19 18:15:36 UTC 2015
Author: Russell Bryant <rbryant at redhat.com>
Date: 2015-02-19 (Thu, 19 Feb 2015)
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 at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
More information about the git