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
This commit is contained in:
Pau Espin 2021-03-09 15:46:35 +01:00 committed by laforge
parent 702ebee751
commit 1e97951582
1 changed files with 2 additions and 1 deletions

View File

@ -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()