aboutsummaryrefslogtreecommitdiffstats
path: root/src/l1
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2012-03-14 10:56:29 +0100
committerSylvain Munaut <tnt@246tNt.com>2012-03-14 10:56:29 +0100
commit7f94db941754f69c4f2678f882cdad767285ccb3 (patch)
treed4c14f9fa94972193c376f4beb3eaef3a73763f8 /src/l1
parenta4e796324d9843b657c4442839672c3ea07e68d5 (diff)
l1: Do a bit of #include cleanup, make sure to include what's needed
... and not rely on someone to get it for us. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/l1')
-rw-r--r--src/l1/bcch.c4
-rw-r--r--src/l1/ccch.c4
-rw-r--r--src/l1/facch3.c4
-rw-r--r--src/l1/tch3.c4
4 files changed, 15 insertions, 1 deletions
diff --git a/src/l1/bcch.c b/src/l1/bcch.c
index d5d7fb8..3f60875 100644
--- a/src/l1/bcch.c
+++ b/src/l1/bcch.c
@@ -29,6 +29,10 @@
#include <stdint.h>
#include <string.h>
+#include <osmocom/core/bits.h>
+#include <osmocom/core/conv.h>
+#include <osmocom/core/crc16gen.h>
+
#include <osmocom/gmr1/l1/conv.h>
#include <osmocom/gmr1/l1/crc.h>
#include <osmocom/gmr1/l1/interleave.h>
diff --git a/src/l1/ccch.c b/src/l1/ccch.c
index ebb9661..4202ae9 100644
--- a/src/l1/ccch.c
+++ b/src/l1/ccch.c
@@ -29,6 +29,10 @@
#include <stdint.h>
#include <string.h>
+#include <osmocom/core/bits.h>
+#include <osmocom/core/conv.h>
+#include <osmocom/core/crc16gen.h>
+
#include <osmocom/gmr1/l1/conv.h>
#include <osmocom/gmr1/l1/crc.h>
#include <osmocom/gmr1/l1/interleave.h>
diff --git a/src/l1/facch3.c b/src/l1/facch3.c
index d3c847f..211c988 100644
--- a/src/l1/facch3.c
+++ b/src/l1/facch3.c
@@ -29,6 +29,10 @@
#include <stdint.h>
#include <string.h>
+#include <osmocom/core/bits.h>
+#include <osmocom/core/conv.h>
+#include <osmocom/core/crc16gen.h>
+
#include <osmocom/gmr1/l1/conv.h>
#include <osmocom/gmr1/l1/crc.h>
#include <osmocom/gmr1/l1/interleave.h>
diff --git a/src/l1/tch3.c b/src/l1/tch3.c
index 638819b..c065c68 100644
--- a/src/l1/tch3.c
+++ b/src/l1/tch3.c
@@ -29,8 +29,10 @@
#include <stdint.h>
#include <string.h>
+#include <osmocom/core/bits.h>
+#include <osmocom/core/conv.h>
+
#include <osmocom/gmr1/l1/conv.h>
-#include <osmocom/gmr1/l1/crc.h>
#include <osmocom/gmr1/l1/punct.h>
#include <osmocom/gmr1/l1/scramb.h>