From 3e2c32322e67039bda6b22f089d6c482a0fb3840 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Sun, 4 Jan 2009 03:55:31 +0000 Subject: [PATCH] Make gsm48_sendmsg public as well --- include/openbsc/gsm_04_08.h | 1 + src/gsm_04_08.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/openbsc/gsm_04_08.h b/include/openbsc/gsm_04_08.h index 82652191d..3ef4fdb01 100644 --- a/include/openbsc/gsm_04_08.h +++ b/include/openbsc/gsm_04_08.h @@ -393,6 +393,7 @@ enum gsm_chreq_reason_t get_reason_by_chreq(struct gsm_bts *bts, u_int8_t ra); int gsm48_tx_mm_info(struct gsm_lchan *lchan); struct msgb *gsm48_msgb_alloc(void); +int gsm48_sendmsg(struct msgb *msg); #endif diff --git a/src/gsm_04_08.c b/src/gsm_04_08.c index e2cba5bb2..69207d72b 100644 --- a/src/gsm_04_08.c +++ b/src/gsm_04_08.c @@ -188,7 +188,7 @@ struct msgb *gsm48_msgb_alloc(void) return msgb_alloc_headroom(GSM48_ALLOC_SIZE, GSM48_ALLOC_HEADROOM); } -static int gsm48_sendmsg(struct msgb *msg) +int gsm48_sendmsg(struct msgb *msg) { struct gsm48_hdr *gh = (struct gsm48_hdr *) msg->data;