summaryrefslogtreecommitdiffstats
path: root/src/codec
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-31 02:48:48 +0200
committerHarald Welte <laforge@gnumonks.org>2017-06-09 09:16:57 +0000
commitdee71726893934ad2c069121ff461654747b2819 (patch)
tree0e2452d8e667936311dfdd8d550dbd45d8bec8a0 /src/codec
parent3f066dde8ffa78a4550925aa3a4a88ac7f6076e6 (diff)
Include codec.h file from codec C files
failure to do so would prevent the compiler from catching inconsistencies between declaration and definition. Change-Id: I88617c97adcff328292e501fd5d254eeae96a660
Diffstat (limited to 'src/codec')
-rw-r--r--src/codec/gsm610.c1
-rw-r--r--src/codec/gsm620.c1
-rw-r--r--src/codec/gsm660.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/codec/gsm610.c b/src/codec/gsm610.c
index 3346ffc3..c1eca0c3 100644
--- a/src/codec/gsm610.c
+++ b/src/codec/gsm610.c
@@ -26,6 +26,7 @@
#include <osmocom/core/bitvec.h>
#include <osmocom/core/utils.h>
+#include <osmocom/codec/codec.h>
/* GSM FR - subjective importance bit ordering */
/* This array encodes GSM 05.03 Table 2.
diff --git a/src/codec/gsm620.c b/src/codec/gsm620.c
index 29ae4f53..7067239c 100644
--- a/src/codec/gsm620.c
+++ b/src/codec/gsm620.c
@@ -26,6 +26,7 @@
#include <osmocom/core/bitvec.h>
#include <osmocom/core/utils.h>
+#include <osmocom/codec/codec.h>
/* GSM HR unvoiced (mode=0) frames - subjective importance bit ordering */
/* This array encode mapping between GSM 05.03 Table 3a (bits
diff --git a/src/codec/gsm660.c b/src/codec/gsm660.c
index c044a2ab..6c9215f4 100644
--- a/src/codec/gsm660.c
+++ b/src/codec/gsm660.c
@@ -22,6 +22,7 @@
*/
#include <stdint.h>
+#include <osmocom/codec/codec.h>
/* GSM EFR - subjective importance bit ordering */
/* This array encodes GSM 05.03 Table 6.