aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-03-09 15:46:35 +0100
committerlaforge <laforge@osmocom.org>2021-03-12 07:40:11 +0000
commit1e97951582f034cfacc8457fb2e5dee86b98694b (patch)
tree9006584c330f89a0f637d63610d718adbf5cf344 /tests
parent702ebee751a01039f2f428c0533dc3d94f9c71a8 (diff)
tests: rlcmac: Fix C vs C++ linkage of extern symbol
RLCMACTest.cpp:31:30: error: conflicting declaration of ‘const log_info gprs_log_info’ with ‘C’ linkage 31 | extern const struct log_info gprs_log_info; gprs_debug.h:54:30: note: previous declaration with ‘C++’ linkag Change-Id: I5922950dd0057bf7eb8578e2144f127082323fc6
Diffstat (limited to 'tests')
-rw-r--r--tests/rlcmac/RLCMACTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rlcmac/RLCMACTest.cpp b/tests/rlcmac/RLCMACTest.cpp
index 598d11a1..4bde5bf7 100644
--- a/tests/rlcmac/RLCMACTest.cpp
+++ b/tests/rlcmac/RLCMACTest.cpp
@@ -28,7 +28,6 @@
#include "decoding.h"
extern "C" {
-extern const struct log_info gprs_log_info;
#include "pcu_vty.h"
#include <osmocom/vty/telnet_interface.h>
#include <osmocom/vty/logging.h>
@@ -41,6 +40,8 @@ extern const struct log_info gprs_log_info;
}
using namespace std;
+#include "gprs_debug.h"
+
void *tall_pcu_ctx;
void printSizeofRLCMAC()