Make most "struct option" instances "const".
authorBen Pfaff <blp@nicira.com>
Tue, 23 Apr 2013 23:40:56 +0000 (16:40 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 3 May 2013 20:29:46 +0000 (13:29 -0700)
commit07fc4ed3410006950012aef8d78f017c5b833e98
tree549ced1c9f9e3fd9caeee9782aece83b2b1f69d7
parentd64e176c3521c5132c0d9afa5718d52b7465453a
Make most "struct option" instances "const".

Reducing non-const static data makes code more obviously thread-safe.
Although option parsing does not normally need to be thread-safe, I
don't know of a drawback to making its data const.

Signed-off-by: Ben Pfaff <blp@nicira.com>
13 files changed:
ovsdb/ovsdb-client.c
ovsdb/ovsdb-server.c
ovsdb/ovsdb-tool.c
tests/test-jsonrpc.c
tests/test-netflow.c
tests/test-ovsdb.c
tests/test-sflow.c
tests/test-util.c
utilities/ovs-benchmark.c
utilities/ovs-controller.c
utilities/ovs-dpctl.c
utilities/ovs-ofctl.c
vswitchd/ovs-vswitchd.c