diff --git a/openair1/SCHED/phy_procedures_lte_eNb.c b/openair1/SCHED/phy_procedures_lte_eNb.c index f1aa56cec83e154495b65dd8c135f7df5f3ad1c9..cfa5b57d4b176e83813b38de76176cdd7f80e8f6 100755 --- a/openair1/SCHED/phy_procedures_lte_eNb.c +++ b/openair1/SCHED/phy_procedures_lte_eNb.c @@ -77,7 +77,6 @@ #define PUCCH1_THRES 15 #define PUCCH1a_THRES 15 -extern inline unsigned int taus(void); extern int exit_openair; //extern void do_OFDM_mod(mod_sym_t **txdataF, int32_t **txdata, uint32_t frame, uint16_t next_slot, LTE_DL_FRAME_PARMS *frame_parms); diff --git a/openair1/SCHED/phy_procedures_lte_ue.c b/openair1/SCHED/phy_procedures_lte_ue.c index 74e3ae79b934f41973c92f7dc2c5a67451cb85ea..9e0e77b9b53d1f18fba9f7654c03269b04a15cf5 100755 --- a/openair1/SCHED/phy_procedures_lte_ue.c +++ b/openair1/SCHED/phy_procedures_lte_ue.c @@ -96,7 +96,6 @@ fifo_dump_emos_UE emos_dump_UE; #define NS_PER_SLOT 500000 -extern inline unsigned int taus(void); extern int oai_exit; uint8_t ulsch_input_buffer[2700] __attribute__ ((aligned(16))); diff --git a/openair2/LAYER2/MAC/eNB_scheduler_RA.c b/openair2/LAYER2/MAC/eNB_scheduler_RA.c index ff47d72c71e40499a54dd194cc54657313076a8c..6971f3ba533142d37c133197fbfe773af9f1fb38 100644 --- a/openair2/LAYER2/MAC/eNB_scheduler_RA.c +++ b/openair2/LAYER2/MAC/eNB_scheduler_RA.c @@ -66,7 +66,7 @@ # include "intertask_interface.h" #endif -extern inline unsigned int taus(void); +#include "SIMULATION/TOOLS/defs.h" // for taus void schedule_RA(module_id_t module_idP,frame_t frameP, sub_frame_t subframeP,unsigned char Msg3_subframe,unsigned int *nprb,unsigned int *nCCE) { diff --git a/openair2/LAYER2/MAC/eNB_scheduler_dlsch.c b/openair2/LAYER2/MAC/eNB_scheduler_dlsch.c index f3f9be377b940ab740ee4ac0d84ccd6ba410dec5..5fcb2c8f80bc5d3a7c8ec7d3fd544401d5345578 100644 --- a/openair2/LAYER2/MAC/eNB_scheduler_dlsch.c +++ b/openair2/LAYER2/MAC/eNB_scheduler_dlsch.c @@ -59,6 +59,8 @@ //#include "LAYER2/MAC/pre_processor.c" #include "pdcp.h" +#include "SIMULATION/TOOLS/defs.h" // for taus + #if defined(ENABLE_ITTI) # include "intertask_interface.h" #endif @@ -66,7 +68,6 @@ #define ENABLE_MAC_PAYLOAD_DEBUG //#define DEBUG_eNB_SCHEDULER 1 -extern inline unsigned int taus(void); //------------------------------------------------------------------------------ diff --git a/openair2/LAYER2/MAC/eNB_scheduler_mch.c b/openair2/LAYER2/MAC/eNB_scheduler_mch.c index c84c42f39b433c9fdfc6c358f98c4aaaf1ed413b..42ec471b24dbceae89fa81c357c91c168f55d60a 100644 --- a/openair2/LAYER2/MAC/eNB_scheduler_mch.c +++ b/openair2/LAYER2/MAC/eNB_scheduler_mch.c @@ -63,10 +63,11 @@ # include "intertask_interface.h" #endif +#include "SIMULATION/TOOLS/defs.h" // for taus + #define ENABLE_MAC_PAYLOAD_DEBUG #define DEBUG_eNB_SCHEDULER 1 -extern inline unsigned int taus(void); #ifdef Rel10 int8_t get_mbsfn_sf_alloction (module_id_t module_idP, uint8_t CC_id, uint8_t mbsfn_sync_area) diff --git a/openair2/LAYER2/MAC/pre_processor.c b/openair2/LAYER2/MAC/pre_processor.c index ea86e4867fd7bc29287ab89052151fe4949b58fc..f0523c2f8b22967ee3aa69a0846aee5eaa33a199 100644 --- a/openair2/LAYER2/MAC/pre_processor.c +++ b/openair2/LAYER2/MAC/pre_processor.c @@ -68,8 +68,6 @@ #endif */ -extern inline unsigned int taus(void); - // This function stores the downlink buffer for all the logical channels void store_dlsch_buffer (module_id_t Mod_id, diff --git a/openair2/LAYER2/MAC/ra_procedures.c b/openair2/LAYER2/MAC/ra_procedures.c index 12ec5663e0b2d483b6098a05272f0b2939d2a3ea..6dae9ae492c18d7a2a43792edffa2896c738011d 100644 --- a/openair2/LAYER2/MAC/ra_procedures.c +++ b/openair2/LAYER2/MAC/ra_procedures.c @@ -55,7 +55,7 @@ #include "SIMULATION/simulation_defs.h" #endif -extern inline unsigned int taus(void); +#include "SIMULATION/TOOLS/defs.h" // for taus int8_t get_DELTA_PREAMBLE(module_id_t module_idP,int CC_id) { diff --git a/openair2/LAYER2/MAC/rar_tools.c b/openair2/LAYER2/MAC/rar_tools.c index d17f6130916416acab944746829ad8919a3cc8bb..b83978454581490800444f368e07d6a4dbaab0bc 100644 --- a/openair2/LAYER2/MAC/rar_tools.c +++ b/openair2/LAYER2/MAC/rar_tools.c @@ -54,8 +54,6 @@ extern unsigned int distRIV2alloc_LUT25[512]; extern unsigned short RIV2nb_rb_LUT25[512]; extern unsigned short RIV2first_rb_LUT25[512]; -extern inline unsigned int taus(void); - //------------------------------------------------------------------------------ unsigned short fill_rar( const module_id_t module_idP, diff --git a/openair2/LAYER2/MAC/ue_procedures.c b/openair2/LAYER2/MAC/ue_procedures.c index 7e09874dc6094186f55e4982ba2e7da1d855cece..c53d5105faf5cdb50a3db0ca285644896ab082c5 100644 --- a/openair2/LAYER2/MAC/ue_procedures.c +++ b/openair2/LAYER2/MAC/ue_procedures.c @@ -73,6 +73,8 @@ #include "assertions.h" +#include "SIMULATION/TOOLS/defs.h" // for taus + #define DEBUG_HEADER_PARSING 1 #define ENABLE_MAC_PAYLOAD_DEBUG 1 @@ -90,8 +92,6 @@ mapping BSR_names[] = { {NULL, -1} }; -extern inline unsigned int taus(void); - void ue_init_mac(module_id_t module_idP) { diff --git a/openair2/RRC/LITE/rrc_UE.c b/openair2/RRC/LITE/rrc_UE.c index df551f75056a4cce4a9f9ba85d4b024f42e6040e..ebef0a55de26070c48810fbe31a88ba08df14c5f 100644 --- a/openair2/RRC/LITE/rrc_UE.c +++ b/openair2/RRC/LITE/rrc_UE.c @@ -91,6 +91,9 @@ # include "intertask_interface.h" #endif +#include "SIMULATION/TOOLS/defs.h" // for taus + + #ifdef PHY_EMUL extern EMULATION_VARS *Emul_vars; #endif @@ -102,7 +105,6 @@ extern void *bigphys_malloc(int); //#define XER_PRINT -extern inline unsigned int taus(void); extern int8_t dB_fixed2(uint32_t x,uint32_t y); void diff --git a/openair2/RRC/LITE/rrc_eNB.c b/openair2/RRC/LITE/rrc_eNB.c index f2166ece668b42df8d403f024b4d3f9727d30672..7d40310fb90ec3a115238c58a57dc188741a8341 100644 --- a/openair2/RRC/LITE/rrc_eNB.c +++ b/openair2/RRC/LITE/rrc_eNB.c @@ -97,6 +97,8 @@ # include "rrc_eNB_ral.h" #endif +#include "SIMULATION/TOOLS/defs.h" // for taus + //#define XER_PRINT #ifdef PHY_EMUL @@ -109,7 +111,6 @@ extern void* bigphys_malloc(int); #endif extern uint16_t two_tier_hexagonal_cellIds[7]; -extern inline unsigned int taus(void); /* TS 36.331: RRC-TransactionIdentifier ::= INTEGER (0..3) */ static const uint8_t RRC_TRANSACTION_IDENTIFIER_NUMBER = 4;