aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_04_08_utils.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-01 14:22:44 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-04 07:17:32 +0200
commit3c69a4cdbeed5cd877d3e688c0066acfa2b7b180 (patch)
tree846a5dcd19cbb9f3aab9f9956cd9ba4b52dfdf95 /openbsc/src/gsm_04_08_utils.c
parentbde050e8f825541c3c44b295278d165c0eaa98da (diff)
make gsm48_msgb_alloc() a static inline function
This resolves some dependency problems (i.e. osmo_sgsn not needing to link gsm_04_08_utils.o which has RSL dependencies)
Diffstat (limited to 'openbsc/src/gsm_04_08_utils.c')
-rw-r--r--openbsc/src/gsm_04_08_utils.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/openbsc/src/gsm_04_08_utils.c b/openbsc/src/gsm_04_08_utils.c
index b770b52fc..0ee06ca56 100644
--- a/openbsc/src/gsm_04_08_utils.c
+++ b/openbsc/src/gsm_04_08_utils.c
@@ -36,19 +36,10 @@
#include <openbsc/paging.h>
#include <openbsc/signal.h>
-#define GSM48_ALLOC_SIZE 1024
-#define GSM48_ALLOC_HEADROOM 128
-
/* should ip.access BTS use direct RTP streams between each other (1),
* or should OpenBSC always act as RTP relay/proxy in between (0) ? */
int ipacc_rtp_direct = 1;
-struct msgb *gsm48_msgb_alloc(void)
-{
- return msgb_alloc_headroom(GSM48_ALLOC_SIZE, GSM48_ALLOC_HEADROOM,
- "GSM 04.08");
-}
-
int gsm48_sendmsg(struct msgb *msg, struct gsm_trans *trans)
{
struct gsm48_hdr *gh = (struct gsm48_hdr *) msg->data;