[ovs-git] [openvswitch/ovs] 470582: ovsdb-idlc: Constify 'char **'.

GitHub noreply at github.com
Thu Feb 19 18:15:36 UTC 2015

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 470582937d2722e1602e8366a42f7a077dce3616
  Author: Russell Bryant <rbryant at redhat.com>
  Date:   2015-02-19 (Thu, 19 Feb 2015)

  Changed paths:
    M ovsdb/ovsdb-idlc.in
    M vswitchd/bridge.c

  Log Message:
  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 mailing list