From ebb77cbfbf09bc97bb7f1a49a80348d35824e5ab Mon Sep 17 00:00:00 2001 From: Raphael Defosseux <raphael.defosseux@openairinterface.org> Date: Thu, 28 Sep 2023 10:25:06 +0200 Subject: [PATCH] style(ci): modifiying with only our style Signed-off-by: Raphael Defosseux <raphael.defosseux@openairinterface.org> --- src/common/3gpp_29.571.h | 4 ++-- src/common/common_defs.h | 6 +++--- src/common/utils/conversions.hpp | 6 +++--- src/pcf_app/pcf_config.cpp | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/common/3gpp_29.571.h b/src/common/3gpp_29.571.h index dcdf0a2..7668a1a 100644 --- a/src/common/3gpp_29.571.h +++ b/src/common/3gpp_29.571.h @@ -29,8 +29,8 @@ enum access_type_e { ACESS_3GPP = 1, ACESS_NON_3GPP = 2 }; -static const std::vector<std::string> access_type_e2str = {"3GPP_ACCESS", - "NON_3GPP_ACCESS"}; +static const std::vector<std::string> access_type_e2str = { + "3GPP_ACCESS", "NON_3GPP_ACCESS"}; typedef struct sd_range_s { std::string start; diff --git a/src/common/common_defs.h b/src/common/common_defs.h index d76ad87..6e0f8c5 100644 --- a/src/common/common_defs.h +++ b/src/common/common_defs.h @@ -44,9 +44,9 @@ } while (0) #define NIPADDR(addr) \ - (uint8_t)(addr & 0x000000FF), (uint8_t)((addr & 0x0000FF00) >> 8), \ - (uint8_t)((addr & 0x00FF0000) >> 16), \ - (uint8_t)((addr & 0xFF000000) >> 24) + (uint8_t)(addr & 0x000000FF), (uint8_t) ((addr & 0x0000FF00) >> 8), \ + (uint8_t) ((addr & 0x00FF0000) >> 16), \ + (uint8_t) ((addr & 0xFF000000) >> 24) #ifndef UNUSED #define UNUSED(x) (void) (x) diff --git a/src/common/utils/conversions.hpp b/src/common/utils/conversions.hpp index 75589bb..e35e9d6 100644 --- a/src/common/utils/conversions.hpp +++ b/src/common/utils/conversions.hpp @@ -36,9 +36,9 @@ #define IN_ADDR_FMT "%u.%u.%u.%u" #define PRI_IN_ADDR(aDDRESS) \ (uint8_t)((aDDRESS.s_addr) & 0x000000ff), \ - (uint8_t)(((aDDRESS.s_addr) & 0x0000ff00) >> 8), \ - (uint8_t)(((aDDRESS.s_addr) & 0x00ff0000) >> 16), \ - (uint8_t)(((aDDRESS.s_addr) & 0xff000000) >> 24) + (uint8_t) (((aDDRESS.s_addr) & 0x0000ff00) >> 8), \ + (uint8_t) (((aDDRESS.s_addr) & 0x00ff0000) >> 16), \ + (uint8_t) (((aDDRESS.s_addr) & 0xff000000) >> 24) #define IPV4_ADDR_DISPLAY_8(aDDRESS) \ (aDDRESS)[0], (aDDRESS)[1], (aDDRESS)[2], (aDDRESS)[3] diff --git a/src/pcf_app/pcf_config.cpp b/src/pcf_app/pcf_config.cpp index 02e78b7..4333176 100644 --- a/src/pcf_app/pcf_config.cpp +++ b/src/pcf_app/pcf_config.cpp @@ -33,8 +33,8 @@ oai::config::pcf::pcf_config::pcf_config( const std::string& config_path, bool log_stdout, bool log_rot_file) : config( config_path, oai::config::PCF_CONFIG_NAME, log_stdout, log_rot_file) { - m_used_sbi_values = {oai::config::PCF_CONFIG_NAME, - oai::config::NRF_CONFIG_NAME}; + m_used_sbi_values = { + oai::config::PCF_CONFIG_NAME, oai::config::NRF_CONFIG_NAME}; m_used_config_values = { oai::config::LOG_LEVEL_CONFIG_NAME, oai::config::REGISTER_NF_CONFIG_NAME, oai::config::NF_LIST_CONFIG_NAME, oai::config::PCF_CONFIG_NAME, -- GitLab