projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2ade3a0
)
mkae the new 'void *dst' member part of a union with the trx pointer
author
Harald Welte
<laforge@gnumonks.org>
Mon, 18 Jul 2011 14:59:27 +0000
(16:59 +0200)
committer
Harald Welte
<laforge@gnumonks.org>
Mon, 18 Jul 2011 15:00:08 +0000
(17:00 +0200)
this ensures struct msgb is the same size as before, which will ensure
binary compatibility
include/osmocom/core/msgb.h
patch
|
blob
|
history
diff --git
a/include/osmocom/core/msgb.h
b/include/osmocom/core/msgb.h
index
08dfaac
..
915c4a0
100644
(file)
--- a/
include/osmocom/core/msgb.h
+++ b/
include/osmocom/core/msgb.h
@@
-29,12
+29,13
@@
struct msgb {
struct llist_head list;
- /* routing information. */
- void *dst;
/* Part of which TRX logical channel we were received / transmitted */
/* FIXME: move them into the control buffer */
- struct gsm_bts_trx *trx;
+ union {
+ void *dst;
+ struct gsm_bts_trx *trx;
+ };
struct gsm_lchan *lchan;
/* the Layer1 header (if any) */