libqos: rename i2c_send and i2c_recv
commit39397a9a76eb02ad8a772f43446fdb3344093c35
authorAlexander Bulekov <alxndr@bu.edu>
Thu, 20 Feb 2020 04:11:05 +0000 (19 23:11 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Sat, 22 Feb 2020 08:26:48 +0000 (22 08:26 +0000)
tree94dd083830e07cec1d3e11377aa0f9ad4594b6a9
parent0bd9aef89ba941b41773d9dbfa94433c2b7d00de
libqos: rename i2c_send and i2c_recv

The names i2c_send and i2c_recv collide with functions defined in
hw/i2c/core.c. This causes an error when linking against libqos and
softmmu simultaneously (for example when using qtest inproc). Rename the
libqos functions to avoid this.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-id: 20200220041118.23264-10-alxndr@bu.edu
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qtest/libqos/i2c.c
tests/qtest/libqos/i2c.h
tests/qtest/pca9552-test.c