path: root/tests
diff options
authorPau Espin Pedrol <pespin@sysmocom.de>2021-01-18 17:54:30 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-01-19 16:28:13 +0100
commite91c4c72b17a1d77e23e4c1514db40307ff66a48 (patch)
tree8b49d4016157548d5ea33479839df1c633813ae9 /tests
parent906aafc9e28d7f4114024e449ef5b010abeb86f7 (diff)
Convert osmo_bts_sock.cpp to C
There's no real point in using C++ there, and using C++ makes the compiler fail to use llist_head in multi-bts patches added later due to: """ 'offsetof' within non-standard-layout type is conditionally-supported """ Change-Id: I8965b5cc5a713e64788b5b6aa183d3035341ddbb
Diffstat (limited to 'tests')
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp
index fbcb503..798dc3c 100644
--- a/tests/tbf/TbfTest.cpp
+++ b/tests/tbf/TbfTest.cpp
@@ -166,7 +166,7 @@ static uint8_t llc_data[200];
/* override, requires '-Wl,--wrap=pcu_sock_send' */
int __real_pcu_sock_send(struct msgb *msg);
-int __wrap_pcu_sock_send(struct msgb *msg)
+extern "C" int __wrap_pcu_sock_send(struct msgb *msg)
return 0;