Packing frequency stucture, so arrays of it require less memory

This commit is contained in:
Andreas Eversberg 2012-01-25 12:16:35 +01:00 committed by Harald Welte
parent f04f53d3b7
commit be142a0c2a
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ int gsm48_encode_more(struct msgb *msg);
struct gsm_sysinfo_freq {
/* if the frequency included in the sysinfo */
uint8_t mask;
};
} __attribute__ ((packed));
/* decode "Cell Channel Description" (10.5.2.1b) and other frequency lists */
int gsm48_decode_freq_list(struct gsm_sysinfo_freq *f, uint8_t *cd,