[ovs-git] [openvswitch/ovs] ffc0c8: ovsdb: Remove duplicated function defintions
Yi-Hung Wei
noreply at github.com
Mon Apr 27 15:42:15 UTC 2020
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: ffc0c87393012402e4647c07cc848f68aee7faf9
https://github.com/openvswitch/ovs/commit/ffc0c87393012402e4647c07cc848f68aee7faf9
Author: Yi-Hung Wei <yihung.wei at gmail.com>
Date: 2020-04-27 (Mon, 27 Apr 2020)
Changed paths:
M ovsdb/condition.c
Log Message:
-----------
ovsdb: Remove duplicated function defintions
ovsdb_function_from_string() and ovsdb_function_to_string() are defined
both in ovsdb/condition.c and lib/ovsdb-condidtion.c with the same function
definition. Remove the one in ovsdb/condition.c to avoid duplication.
This also resolves the following bazel building error.
./libopenvswitch.lo(ovsdb-condition.pic.o): In function `ovsdb_function_from_string':
/lib/ovsdb-condition.c:24: multiple definition of `ovsdb_function_from_string'
./libovsdb.a(condition.pic.o):/proc/self/cwd/external/openvswitch_repo/ovsdb/condition.c:34: first defined here
./libopenvswitch.lo(ovsdb-condition.pic.o): In function `ovsdb_function_from_string':
./lib/ovsdb-condition.c:24: multiple definition of `ovsdb_function_to_string'
./libovsdb.a(condition.pic.o):/proc/self/cwd/external/openvswitch_repo/ovsdb/condition.c:335
Reported-by: Harold Lim <haroldl at vmware.com>
Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: William Tu <u9012063 at gmail.com>
More information about the git
mailing list