pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-pcu/+/23287 )


Change subject: tests: rlcmac: Fix C vs C++ linkage of extern symbol
......................................................................

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
---
M tests/rlcmac/RLCMACTest.cpp
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/87/23287/1

diff --git a/tests/rlcmac/RLCMACTest.cpp b/tests/rlcmac/RLCMACTest.cpp
index 598d11a..4bde5bf 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 @@
 }
 using namespace std;

+#include "gprs_debug.h"
+
 void *tall_pcu_ctx;

 void printSizeofRLCMAC()

--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/23287
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I5922950dd0057bf7eb8578e2144f127082323fc6
Gerrit-Change-Number: 23287
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to