pespin submitted this change.
layer23: Move extern declaration of l23_ctx to l23_app.h
This way all apps can access it.
Change-Id: I570d31cc4014b54b47b11a3a52791f62c999cad8
---
M src/host/layer23/include/osmocom/bb/common/l23_app.h
M src/host/layer23/src/misc/app_cell_log.c
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/host/layer23/include/osmocom/bb/common/l23_app.h b/src/host/layer23/include/osmocom/bb/common/l23_app.h
index a37e1e0..cb68d43 100644
--- a/src/host/layer23/include/osmocom/bb/common/l23_app.h
+++ b/src/host/layer23/include/osmocom/bb/common/l23_app.h
@@ -13,6 +13,8 @@
L23_OPT_VTYIP = 32,
};
+extern void *l23_ctx;
+
/* initialization, called once when starting the app, before reading VTY config */
extern int l23_app_init(struct osmocom_ms *ms);
diff --git a/src/host/layer23/src/misc/app_cell_log.c b/src/host/layer23/src/misc/app_cell_log.c
index f1596c3..43980e9 100644
--- a/src/host/layer23/src/misc/app_cell_log.c
+++ b/src/host/layer23/src/misc/app_cell_log.c
@@ -34,8 +34,6 @@
#include <l1ctl_proto.h>
-extern void *l23_ctx;
-
extern uint16_t basic_band_range[][2];
extern uint16_t (*band_range)[][2];
To view, visit change 30949. To unsubscribe, or for help writing mail filters, visit settings.