comparison src/g23m-gsm/alr2/alr.h @ 61:935692f51b38

src/g23m-gsm/alr2/alr.h: removed bogus extern to pass gcc compilation
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Jul 2018 23:30:08 +0000
parents b4c81ea2d291
children
comparison
equal deleted inserted replaced
60:7bf3a14cca3f 61:935692f51b38
531 /* add resp. get the std value to resp. from arfcn */ 531 /* add resp. get the std value to resp. from arfcn */
532 #define STD_ADD_TO_ARFCN(a,std) (((a)&~STD_BIT_MASK) | ((std)<<STD_BIT_SHIFT)) 532 #define STD_ADD_TO_ARFCN(a,std) (((a)&~STD_BIT_MASK) | ((std)<<STD_BIT_SHIFT))
533 #define STD_GET_FROM_ARFCN(a) ((((a)&STD_BIT_MASK)>>STD_BIT_SHIFT)) 533 #define STD_GET_FROM_ARFCN(a) ((((a)&STD_BIT_MASK)>>STD_BIT_SHIFT))
534 534
535 /* find the frequency band index to which the given arfcn belongs. */ 535 /* find the frequency band index to which the given arfcn belongs. */
536 EXTERN const int array_band_index[]; 536 /* EXTERN const int array_band_index[]; */
537 #define get_band_index_from_arfcn(arfcn, idx, std)\ 537 #define get_band_index_from_arfcn(arfcn, idx, std)\
538 {\ 538 {\
539 UBYTE local_std = STD_GET_FROM_ARFCN(arfcn);\ 539 UBYTE local_std = STD_GET_FROM_ARFCN(arfcn);\
540 if( !local_std )\ 540 if( !local_std )\
541 local_std = std;\ 541 local_std = std;\