summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-11-12 02:29:18 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-11-12 02:29:31 +0700
commita7f399eb958eddd8658bb9fd7ffecf40872b8d56 (patch)
tree634df45f50f9459a8827f18f897a9a9d72af489e /src/host/trxcon/include
parent13046f172d335a7c3548caaaad5ff6c5b47133d6 (diff)
trxcon: move l1sched_logging_init() from l1sched.h to logging.h
Diffstat (limited to 'src/host/trxcon/include')
-rw-r--r--src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h1
-rw-r--r--src/host/trxcon/include/osmocom/bb/l1sched/logging.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h b/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
index 3eadbbf9..3dfafb3b 100644
--- a/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
+++ b/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h
@@ -389,7 +389,6 @@ const struct l1sched_tdma_multiframe *l1sched_mframe_layout(
enum gsm_phys_chan_config config, int tn);
/* Scheduler management functions */
-void l1sched_logging_init(int log_cat_common, int log_cat_data);
struct l1sched_state *l1sched_alloc(void *ctx, const struct l1sched_cfg *cfg, void *priv);
void l1sched_reset(struct l1sched_state *sched, bool reset_clock);
void l1sched_free(struct l1sched_state *sched);
diff --git a/src/host/trxcon/include/osmocom/bb/l1sched/logging.h b/src/host/trxcon/include/osmocom/bb/l1sched/logging.h
index d2b80e37..f88fe4c3 100644
--- a/src/host/trxcon/include/osmocom/bb/l1sched/logging.h
+++ b/src/host/trxcon/include/osmocom/bb/l1sched/logging.h
@@ -3,6 +3,8 @@
extern int l1sched_log_cat_common;
extern int l1sched_log_cat_data;
+void l1sched_logging_init(int log_cat_common, int log_cat_data);
+
/* Messages using l1sched_state as the context */
#define LOGP_SCHED_CAT(sched, cat, level, fmt, args...) \
LOGP(l1sched_log_cat_##cat, level, "%s" fmt, \