Change in osmo-trx[master]: Threads.cpp: Fix missing extern C around libosmocore include

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Mar 1 15:36:37 UTC 2021


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


Change subject: Threads.cpp: Fix missing extern C around libosmocore include
......................................................................

Threads.cpp: Fix missing extern C around libosmocore include

Change-Id: I76975ed71382ff2afa8cfaff2950e23ff750201e
---
M CommonLibs/Threads.cpp
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/63/23163/1

diff --git a/CommonLibs/Threads.cpp b/CommonLibs/Threads.cpp
index b3ff52f..a98183a 100644
--- a/CommonLibs/Threads.cpp
+++ b/CommonLibs/Threads.cpp
@@ -32,7 +32,9 @@
 #include "Timeval.h"
 #include "Logger.h"
 
+extern "C" {
 #include <osmocom/core/thread.h>
+}
 
 using namespace std;
 

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

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I76975ed71382ff2afa8cfaff2950e23ff750201e
Gerrit-Change-Number: 23163
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210301/73f3d3e9/attachment.htm>


More information about the gerrit-log mailing list