diff options
author | Holger Freyther <zecke@selfish.org> | 2009-01-04 03:55:31 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2009-01-04 03:55:31 +0000 |
commit | 3e2c32322e67039bda6b22f089d6c482a0fb3840 (patch) | |
tree | ee0912c346c108eca02040d6c6099fe6a8ef1eec | |
parent | 819dd205a9d16df9c1e882192c166fc0dab95b67 (diff) |
Make gsm48_sendmsg public as well
-rw-r--r-- | include/openbsc/gsm_04_08.h | 1 | ||||
-rw-r--r-- | src/gsm_04_08.c | 2 |
2 files changed, 2 insertions, 1 deletions
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; |