From e63b8873586b575af433c0d4213fc71c746dd7e1 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Thu, 15 Nov 2018 14:53:13 +0100 Subject: 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 --- include/osmocom/gsm/protocol/gsm_08_58.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/osmocom/gsm') 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, -- cgit v1.2.3