summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/trxcon/logging.c')
-rw-r--r--src/host/trxcon/logging.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/host/trxcon/logging.c b/src/host/trxcon/logging.c
index 6a3043b..78915f2 100644
--- a/src/host/trxcon/logging.c
+++ b/src/host/trxcon/logging.c
@@ -26,7 +26,6 @@
#include <osmocom/core/utils.h>
#include "logging.h"
-#include "trxcon.h"
static struct log_info_cat trx_log_info_cat[] = {
[DAPP] = {
@@ -78,9 +77,9 @@ static const struct log_info trx_log_info = {
.num_cat = ARRAY_SIZE(trx_log_info_cat),
};
-int trx_log_init(const char *category_mask)
+int trx_log_init(void *tall_ctx, const char *category_mask)
{
- osmo_init_logging2(tall_trx_ctx, &trx_log_info);
+ osmo_init_logging2(tall_ctx, &trx_log_info);
if (category_mask)
log_parse_category_mask(osmo_stderr_target, category_mask);