remove global visibility of log variables, remove circular .h dependancy

This commit is contained in:
Laurent THOMAS
2024-03-06 08:51:24 +01:00
parent b99e856733
commit 2129ee3c9c
20 changed files with 36 additions and 119 deletions
+1 -1
View File
@@ -953,7 +953,7 @@ typedef enum {no_relay=1,unicast_relay_type1,unicast_relay_type2, multicast_rela
#define NB_BANDS_MAX 8
#include "common/utils/LOG/log_extern.h"
#include "common/utils/LOG/log.h"
extern pthread_cond_t sync_cond;
extern pthread_mutex_t sync_mutex;
extern int sync_var;
+1 -1
View File
@@ -39,7 +39,7 @@
#include "LAYER2/MAC/defs.h"
#include "PHY_INTERFACE/defs.h"
#include "LAYER2/MAC/vars.h"
#include "UTIL/LOG/log_extern.h"
#include "UTIL/LOG/log.h"
uint16_t n_rnti = 0x1235;
int n_users = 1;
+1 -1
View File
@@ -31,7 +31,7 @@
#include "SCHED/vars.h"
#include "LAYER2/MAC/vars.h"
#include "UTIL/LOG/log_extern.h"
#include "UTIL/LOG/log.h"
#include "unitary_defs.h"