aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlc.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-01-18 17:14:14 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-01-19 16:28:13 +0100
commit8a35e640a33373ea137125a5654bd9ae445b3769 (patch)
tree911a67d8c10f28d14c964cd582fcbf2d91377337 /src/rlc.h
parent4a5209d8bc21940264754ca1c72f082e8f9052c0 (diff)
Convert gprs_bssgp_pcu.cpp to C
There's no real use of C++ in that file, and it causes problems when using llist_head entry macros in future patches adding initial support for multiple BTS in PCU object, so let's move it to plain C. Change-Id: Ic771a89fd78b5e66151a5384f0ff6a8895589466
Diffstat (limited to 'src/rlc.h')
-rw-r--r--src/rlc.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/rlc.h b/src/rlc.h
index eb794309..187a70ee 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -18,13 +18,17 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#pragma once
-
+#ifdef __cplusplus
extern "C" {
-#include "coding_scheme.h"
-}
+#endif
+#include "coding_scheme.h"
#include <osmocom/core/endian.h>
+#ifdef __cplusplus
+}
+#endif
+
#include <stdint.h>
#include <string.h>