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/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Mar 1 19:38:08 UTC 2021


laforge has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210301/8d359fa5/attachment.htm>


More information about the gerrit-log mailing list