lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/40849?usp=email ) Change subject: [2/4] iu_client: rename symbols to prevent clashes with libosmo-ranap ...................................................................... [2/4] iu_client: rename symbols to prevent clashes with libosmo-ranap While moving the iu_client into osmoSGSN, it's not allowed to have the same global symbols in the library as in osmoSGSN. Change-Id: I2af29b38f110b80f69ef598c8e2700ff323a9d7c --- M include/osmocom/sgsn/iu_client.h M src/sgsn/iu_client.c 2 files changed, 5 insertions(+), 5 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve daniel: Looks good to me, approved diff --git a/include/osmocom/sgsn/iu_client.h b/include/osmocom/sgsn/iu_client.h index 7b5c1b4..8277886 100644 --- a/include/osmocom/sgsn/iu_client.h +++ b/include/osmocom/sgsn/iu_client.h @@ -54,10 +54,10 @@ RANAP_IU_EVENT_NEW_AREA, /* Either a new LAC/RAC has been detected */ }; -extern const struct value_string ranap_iu_event_type_names[]; -static inline const char *ranap_iu_event_type_str(enum ranap_iu_event_type e) +extern const struct value_string iu_client_event_type_names[]; +static inline const char *iu_client_event_type_str(enum ranap_iu_event_type e) { - return get_value_string(ranap_iu_event_type_names, e); + return get_value_string(iu_client_event_type_names, e); } /* Implementations of iu_recv_cb_t shall find the ranap_ue_conn_ctx in msg->dst. */ diff --git a/src/sgsn/iu_client.c b/src/sgsn/iu_client.c index 8d20602..0536e8c 100644 --- a/src/sgsn/iu_client.c +++ b/src/sgsn/iu_client.c @@ -102,7 +102,7 @@ /* This rac will be used internally. RAC with 0xff will be rejected */ #define OSMO_RESERVED_RAC 0xff -const struct value_string ranap_iu_event_type_names[] = { +const struct value_string iu_client_event_type_names[] = { OSMO_VALUE_STRING(RANAP_IU_EVENT_RAB_ASSIGN), OSMO_VALUE_STRING(RANAP_IU_EVENT_SECURITY_MODE_COMPLETE), OSMO_VALUE_STRING(RANAP_IU_EVENT_IU_RELEASE), @@ -121,7 +121,7 @@ if (ue_ctx && !ue_ctx->notification) return 0; - LOGPIU(LOGL_DEBUG, "Submit Iu event to upper layer: %s\n", ranap_iu_event_type_str(type)); + LOGPIU(LOGL_DEBUG, "Submit Iu event to upper layer: %s\n", iu_client_event_type_str(type)); return global_iu_event_cb(ue_ctx, type, data); } -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/40849?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I2af29b38f110b80f69ef598c8e2700ff323a9d7c Gerrit-Change-Number: 40849 Gerrit-PatchSet: 2 Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> Gerrit-Reviewer: pespin <pespin@sysmocom.de>