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
This commit is contained in:
Martin Hauke 2018-11-15 14:53:13 +01:00
parent 4c9d1479a6
commit e63b887358
1 changed files with 1 additions and 1 deletions

View File

@ -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,