storage.h: make sure we use packed attribute not aligned.
This was a stupid mistake when writing the header initially, let's try to fix it while staying binary compatible.
This commit is contained in:
parent
4a92d0b9b9
commit
232b972035
|
@ -22,6 +22,11 @@ struct osmo_e1cap_pkthdr {
|
||||||
uint8_t capture_mode;
|
uint8_t capture_mode;
|
||||||
/* any optional future flags */
|
/* any optional future flags */
|
||||||
uint8_t flags;
|
uint8_t flags;
|
||||||
} __attribute__((aligned));
|
uint8_t align[8];
|
||||||
|
uint8_t data[0];
|
||||||
|
} __attribute__((packed));
|
||||||
|
|
||||||
|
struct msgb;
|
||||||
|
struct e1inp_ts;
|
||||||
|
|
||||||
int e1frame_store(struct e1inp_ts *ts, struct msgb *msg, enum osmo_e1cap_capture_mode mode);
|
int e1frame_store(struct e1inp_ts *ts, struct msgb *msg, enum osmo_e1cap_capture_mode mode);
|
||||||
|
|
Loading…
Reference in New Issue