diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-18 17:14:14 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-19 16:28:13 +0100 |
commit | 8a35e640a33373ea137125a5654bd9ae445b3769 (patch) | |
tree | 911a67d8c10f28d14c964cd582fcbf2d91377337 /src/rlc.h | |
parent | 4a5209d8bc21940264754ca1c72f082e8f9052c0 (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.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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> |