summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-01-25 12:16:35 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-28 13:15:30 +0100
commitbe142a0c2a7b18682775126a19203ab5411688a4 (patch)
tree9bd2ccf0b21acf50ea8b5bbde019d9425a8f68d6 /src/shared
parentf04f53d3b7909cc77d1b451bc8596c4d69ce8172 (diff)
Packing frequency stucture, so arrays of it require less memory
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/libosmocore/include/osmocom/gsm/gsm48_ie.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/libosmocore/include/osmocom/gsm/gsm48_ie.h b/src/shared/libosmocore/include/osmocom/gsm/gsm48_ie.h
index f4fce25c..2e576429 100644
--- a/src/shared/libosmocore/include/osmocom/gsm/gsm48_ie.h
+++ b/src/shared/libosmocore/include/osmocom/gsm/gsm48_ie.h
@@ -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,