summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/protocol
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2018-11-15 14:53:13 +0100
committerMartin Hauke <mardnh@gmx.de>2018-11-15 14:53:13 +0100
commite63b8873586b575af433c0d4213fc71c746dd7e1 (patch)
treecd82c90c48fd5b2cd86f2f022f63e964ec2318a9 /include/osmocom/gsm/protocol
parent4c9d1479a6e1653b49649116ffef9af337f332b5 (diff)
gsm/protocol/gsm_08_58.h: Fix typo
Fix a typo that prevents building on ppc64 (Power8, Big Endian). Tested with gcc version: 8.2.1+r265487 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DBUILDING_LIBOSMOCORE -Wall -Wall -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -DBUILDING_LIBOSMOCORE -Wall -c -o panic.lo panic.c In file included from ../include/osmocom/gsm/rsl.h:6, from gsmtap_util.c:37: ../include/osmocom/gsm/protocol/gsm_08_58.h:60:4: error: expected specifier-qualifier-list before 'sapi' sapi:3; ^~~~ Change-Id: I4a40fc68cb6dfdfadfcc34213c4ecdabbbc356f2
Diffstat (limited to 'include/osmocom/gsm/protocol')
-rw-r--r--include/osmocom/gsm/protocol/gsm_08_58.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h
index cd28caf8..363f33d7 100644
--- a/include/osmocom/gsm/protocol/gsm_08_58.h
+++ b/include/osmocom/gsm/protocol/gsm_08_58.h
@@ -56,7 +56,7 @@ union abis_rsl_link_id {
#if OSMO_IS_BIG_ENDIAN
uint8_t cbits:2,
na:1,
- reserved:2;
+ reserved:2,
sapi:3;
#elif OSMO_IS_LITTLE_ENDIAN
uint8_t sapi:3,