diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2020-01-25 01:24:59 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2020-02-17 02:31:15 +0700 |
commit | 39a65056daa95d18fafc91d33a56d21c327002e6 (patch) | |
tree | 3066dbb095f90b4dd00d55ed79792154a6009e88 /tests | |
parent | 8a87f913bdceae7987ccfa556a5805c4596ccc40 (diff) |
csn1: get rid of C++ specific code, compile with GCC
The implementation of CSN.1 codec was taken from Wireshark, where
it's implemented in pure C. For some reason it was mixed with C++
specific features, mostly using references in parameter
declaration. Not sure what are the benefits.
Change-Id: I56d8b7fbd2f9f4e0bdd6b09d0366fe7eb7aa327a
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rlcmac/RLCMACTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rlcmac/RLCMACTest.cpp b/tests/rlcmac/RLCMACTest.cpp index 0cc3347b..a8d62170 100644 --- a/tests/rlcmac/RLCMACTest.cpp +++ b/tests/rlcmac/RLCMACTest.cpp @@ -24,7 +24,6 @@ #include <cstdlib> #include <cstring> #include <assert.h> -#include "csn1.h" #include "gsm_rlcmac.h" #include "gprs_rlcmac.h" #include "decoding.h" @@ -37,6 +36,8 @@ extern const struct log_info gprs_log_info; #include <osmocom/core/utils.h> #include <osmocom/core/msgb.h> #include <osmocom/core/application.h> + +#include "csn1.h" } using namespace std; |