remove un-necessary global variables
This commit is contained in:
@@ -63,8 +63,6 @@
|
||||
#include "oaisim_mme_test_s1c.h"
|
||||
#endif
|
||||
|
||||
s1ap_eNB_config_t s1ap_config;
|
||||
|
||||
static int s1ap_eNB_generate_s1_setup_request(
|
||||
s1ap_eNB_instance_t *instance_p, s1ap_eNB_mme_data_t *s1ap_mme_data_p);
|
||||
|
||||
|
||||
@@ -46,15 +46,6 @@ typedef enum s1ap_timer_type_s {
|
||||
S1AP_TIMER_TYPE_MAX,
|
||||
} s1ap_timer_type_t;
|
||||
|
||||
typedef struct s1ap_eNB_config_s {
|
||||
// MME related params
|
||||
unsigned char mme_enabled; ///< MME enabled ?
|
||||
} s1ap_eNB_config_t;
|
||||
|
||||
extern s1ap_eNB_config_t s1ap_config;
|
||||
|
||||
#define EPC_MODE_ENABLED s1ap_config.mme_enabled
|
||||
|
||||
void *s1ap_eNB_process_itti_msg(void*);
|
||||
void s1ap_eNB_init(void);
|
||||
void *s1ap_eNB_task(void *arg);
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "s1ap_eNB_defs.h"
|
||||
#include "s1ap_eNB.h"
|
||||
|
||||
s1ap_eNB_internal_data_t s1ap_eNB_internal_data;
|
||||
static s1ap_eNB_internal_data_t s1ap_eNB_internal_data;
|
||||
|
||||
RB_GENERATE(s1ap_mme_map, s1ap_eNB_mme_data_s, entry, s1ap_eNB_compare_assoc_id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user