Change global variable to local

This commit is contained in:
Sakthivel Velumani
2023-12-05 13:04:23 +05:30
parent f69f419a13
commit d61c4f1042
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ uint32_t registration_request_len;
extern char *baseNetAddress;
extern uint16_t NB_UE_INST;
static nr_ue_nas_t nr_ue_nas = {0};
nr_nas_msg_snssai_t nas_allowed_nssai[8];
static nr_nas_msg_snssai_t nas_allowed_nssai[8];
static int nas_protected_security_header_encode(
char *buffer,
-2
View File
@@ -81,8 +81,6 @@ typedef struct {
int hplmn_sd;
} nr_nas_msg_snssai_t;
extern nr_nas_msg_snssai_t nas_allowed_nssai[8];
/* Security Key for SA UE */
typedef struct {
uint8_t kausf[32];