Commit b4a2c3a5 authored by Lionel Gauthier's avatar Lionel Gauthier

Sebastian Held patches15/0028-fix-compiler-warnings.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7330 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent f84e4d2e
...@@ -77,7 +77,6 @@ ...@@ -77,7 +77,6 @@
#define PUCCH1_THRES 15 #define PUCCH1_THRES 15
#define PUCCH1a_THRES 15 #define PUCCH1a_THRES 15
extern inline unsigned int taus(void);
extern int exit_openair; 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); //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);
......
...@@ -96,7 +96,6 @@ fifo_dump_emos_UE emos_dump_UE; ...@@ -96,7 +96,6 @@ fifo_dump_emos_UE emos_dump_UE;
#define NS_PER_SLOT 500000 #define NS_PER_SLOT 500000
extern inline unsigned int taus(void);
extern int oai_exit; extern int oai_exit;
uint8_t ulsch_input_buffer[2700] __attribute__ ((aligned(16))); uint8_t ulsch_input_buffer[2700] __attribute__ ((aligned(16)));
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
# include "intertask_interface.h" # include "intertask_interface.h"
#endif #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) 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)
{ {
......
...@@ -59,6 +59,8 @@ ...@@ -59,6 +59,8 @@
//#include "LAYER2/MAC/pre_processor.c" //#include "LAYER2/MAC/pre_processor.c"
#include "pdcp.h" #include "pdcp.h"
#include "SIMULATION/TOOLS/defs.h" // for taus
#if defined(ENABLE_ITTI) #if defined(ENABLE_ITTI)
# include "intertask_interface.h" # include "intertask_interface.h"
#endif #endif
...@@ -66,7 +68,6 @@ ...@@ -66,7 +68,6 @@
#define ENABLE_MAC_PAYLOAD_DEBUG #define ENABLE_MAC_PAYLOAD_DEBUG
//#define DEBUG_eNB_SCHEDULER 1 //#define DEBUG_eNB_SCHEDULER 1
extern inline unsigned int taus(void);
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
......
...@@ -63,10 +63,11 @@ ...@@ -63,10 +63,11 @@
# include "intertask_interface.h" # include "intertask_interface.h"
#endif #endif
#include "SIMULATION/TOOLS/defs.h" // for taus
#define ENABLE_MAC_PAYLOAD_DEBUG #define ENABLE_MAC_PAYLOAD_DEBUG
#define DEBUG_eNB_SCHEDULER 1 #define DEBUG_eNB_SCHEDULER 1
extern inline unsigned int taus(void);
#ifdef Rel10 #ifdef Rel10
int8_t get_mbsfn_sf_alloction (module_id_t module_idP, uint8_t CC_id, uint8_t mbsfn_sync_area) int8_t get_mbsfn_sf_alloction (module_id_t module_idP, uint8_t CC_id, uint8_t mbsfn_sync_area)
......
...@@ -68,8 +68,6 @@ ...@@ -68,8 +68,6 @@
#endif #endif
*/ */
extern inline unsigned int taus(void);
// This function stores the downlink buffer for all the logical channels // This function stores the downlink buffer for all the logical channels
void store_dlsch_buffer (module_id_t Mod_id, void store_dlsch_buffer (module_id_t Mod_id,
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#include "SIMULATION/simulation_defs.h" #include "SIMULATION/simulation_defs.h"
#endif #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) int8_t get_DELTA_PREAMBLE(module_id_t module_idP,int CC_id)
{ {
......
...@@ -54,8 +54,6 @@ extern unsigned int distRIV2alloc_LUT25[512]; ...@@ -54,8 +54,6 @@ extern unsigned int distRIV2alloc_LUT25[512];
extern unsigned short RIV2nb_rb_LUT25[512]; extern unsigned short RIV2nb_rb_LUT25[512];
extern unsigned short RIV2first_rb_LUT25[512]; extern unsigned short RIV2first_rb_LUT25[512];
extern inline unsigned int taus(void);
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
unsigned short fill_rar( unsigned short fill_rar(
const module_id_t module_idP, const module_id_t module_idP,
......
...@@ -73,6 +73,8 @@ ...@@ -73,6 +73,8 @@
#include "assertions.h" #include "assertions.h"
#include "SIMULATION/TOOLS/defs.h" // for taus
#define DEBUG_HEADER_PARSING 1 #define DEBUG_HEADER_PARSING 1
#define ENABLE_MAC_PAYLOAD_DEBUG 1 #define ENABLE_MAC_PAYLOAD_DEBUG 1
...@@ -90,8 +92,6 @@ mapping BSR_names[] = { ...@@ -90,8 +92,6 @@ mapping BSR_names[] = {
{NULL, -1} {NULL, -1}
}; };
extern inline unsigned int taus(void);
void ue_init_mac(module_id_t module_idP) void ue_init_mac(module_id_t module_idP)
{ {
......
...@@ -91,6 +91,9 @@ ...@@ -91,6 +91,9 @@
# include "intertask_interface.h" # include "intertask_interface.h"
#endif #endif
#include "SIMULATION/TOOLS/defs.h" // for taus
#ifdef PHY_EMUL #ifdef PHY_EMUL
extern EMULATION_VARS *Emul_vars; extern EMULATION_VARS *Emul_vars;
#endif #endif
...@@ -102,7 +105,6 @@ extern void *bigphys_malloc(int); ...@@ -102,7 +105,6 @@ extern void *bigphys_malloc(int);
//#define XER_PRINT //#define XER_PRINT
extern inline unsigned int taus(void);
extern int8_t dB_fixed2(uint32_t x,uint32_t y); extern int8_t dB_fixed2(uint32_t x,uint32_t y);
void void
......
...@@ -97,6 +97,8 @@ ...@@ -97,6 +97,8 @@
# include "rrc_eNB_ral.h" # include "rrc_eNB_ral.h"
#endif #endif
#include "SIMULATION/TOOLS/defs.h" // for taus
//#define XER_PRINT //#define XER_PRINT
#ifdef PHY_EMUL #ifdef PHY_EMUL
...@@ -109,7 +111,6 @@ extern void* bigphys_malloc(int); ...@@ -109,7 +111,6 @@ extern void* bigphys_malloc(int);
#endif #endif
extern uint16_t two_tier_hexagonal_cellIds[7]; extern uint16_t two_tier_hexagonal_cellIds[7];
extern inline unsigned int taus(void);
/* TS 36.331: RRC-TransactionIdentifier ::= INTEGER (0..3) */ /* TS 36.331: RRC-TransactionIdentifier ::= INTEGER (0..3) */
static const uint8_t RRC_TRANSACTION_IDENTIFIER_NUMBER = 4; static const uint8_t RRC_TRANSACTION_IDENTIFIER_NUMBER = 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment