diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-06-16 16:09:52 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-06-16 16:09:52 +0800 |
commit | 8645e101da22d539342d2e356bdab6cbf92ed9ef (patch) | |
tree | cca8a410060328c0bda20d6c6f8320df51cdbccf /openbsc/src/gprs | |
parent | ea34a4e3a7741c0b03fc421e2850234b82a0977c (diff) |
libgb: move GPRS specific msgb CB definitions to separate header
Diffstat (limited to 'openbsc/src/gprs')
-rw-r--r-- | openbsc/src/gprs/gb_proxy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c index afe793d49..518382d8e 100644 --- a/openbsc/src/gprs/gb_proxy.c +++ b/openbsc/src/gprs/gb_proxy.c @@ -122,7 +122,7 @@ static void peer_free(struct gbprox_peer *peer) /* FIXME: this needs to go to libosmocore/msgb.c */ static struct msgb *msgb_copy(const struct msgb *msg, const char *name) { - struct openbsc_msgb_cb *old_cb, *new_cb; + struct libgb_msgb_cb *old_cb, *new_cb; struct msgb *new_msg; new_msg = msgb_alloc(msg->data_len, name); @@ -144,8 +144,8 @@ static struct msgb *msgb_copy(const struct msgb *msg, const char *name) new_msg->l4h = new_msg->_data + (msg->l4h - msg->_data); /* copy GB specific data */ - old_cb = OBSC_MSGB_CB(msg); - new_cb = OBSC_MSGB_CB(new_msg); + old_cb = LIBGB_MSGB_CB(msg); + new_cb = LIBGB_MSGB_CB(new_msg); new_cb->bssgph = new_msg->_data + (old_cb->bssgph - msg->_data); new_cb->llch = new_msg->_data + (old_cb->llch - msg->_data); |