fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/30096 ) Change subject: trxcon: cosmetic: s/trx_log_init()/trxcon_logging_init()/ ...................................................................... trxcon: cosmetic: s/trx_log_init()/trxcon_logging_init()/ Change-Id: I65ab1e6d3a3bea65aeb13ab286e33795ba57f1f3 Related: OS#5599 --- M src/host/trxcon/include/osmocom/bb/trxcon/logging.h M src/host/trxcon/src/logging.c M src/host/trxcon/src/trxcon_main.c 3 files changed, 8 insertions(+), 8 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/src/host/trxcon/include/osmocom/bb/trxcon/logging.h b/src/host/trxcon/include/osmocom/bb/trxcon/logging.h index 617e8f1..f8521a0 100644 --- a/src/host/trxcon/include/osmocom/bb/trxcon/logging.h +++ b/src/host/trxcon/include/osmocom/bb/trxcon/logging.h @@ -12,4 +12,4 @@ DSCHD, }; -int trx_log_init(void *tall_ctx, const char *category_mask); +int trxcon_logging_init(void *tall_ctx, const char *category_mask); diff --git a/src/host/trxcon/src/logging.c b/src/host/trxcon/src/logging.c index 5c16ac5..747b1ad 100644 --- a/src/host/trxcon/src/logging.c +++ b/src/host/trxcon/src/logging.c @@ -23,7 +23,7 @@ #include <osmocom/bb/trxcon/logging.h> -static struct log_info_cat trx_log_info_cat[] = { +static struct log_info_cat trxcon_log_info_cat[] = { [DAPP] = { .name = "DAPP", .description = "Application", @@ -68,14 +68,14 @@ }, }; -static const struct log_info trx_log_info = { - .cat = trx_log_info_cat, - .num_cat = ARRAY_SIZE(trx_log_info_cat), +static const struct log_info trxcon_log_info = { + .cat = trxcon_log_info_cat, + .num_cat = ARRAY_SIZE(trxcon_log_info_cat), }; -int trx_log_init(void *tall_ctx, const char *category_mask) +int trxcon_logging_init(void *tall_ctx, const char *category_mask) { - osmo_init_logging2(tall_ctx, &trx_log_info); + osmo_init_logging2(tall_ctx, &trxcon_log_info); if (category_mask) log_parse_category_mask(osmo_stderr_target, category_mask); diff --git a/src/host/trxcon/src/trxcon_main.c b/src/host/trxcon/src/trxcon_main.c index 838bb6a..60e8d6d 100644 --- a/src/host/trxcon/src/trxcon_main.c +++ b/src/host/trxcon/src/trxcon_main.c @@ -560,7 +560,7 @@ osmo_init_ignore_signals(); /* Init logging system */ - trx_log_init(tall_trxcon_ctx, app_data.debug_mask); + trxcon_logging_init(tall_trxcon_ctx, app_data.debug_mask); l1sched_logging_init(DSCH, DSCHD); /* Configure pretty logging */ -- To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/30096 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-Change-Id: I65ab1e6d3a3bea65aeb13ab286e33795ba57f1f3 Gerrit-Change-Number: 30096 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-MessageType: merged