diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-01-12 13:36:04 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-01-13 12:16:47 +0100 |
commit | 2b9191f08bb981bec553d3ee9ba0a98a470c2254 (patch) | |
tree | 0cb820d0c93c11a21843d43c9f358ae108f520b1 | |
parent | cd76fcc4eca0a9840e9b30c98c20fd806745bf87 (diff) |
layer23: Move extern declaration of l23_ctx to l23_app.h
This way all apps can access it.
Change-Id: I570d31cc4014b54b47b11a3a52791f62c999cad8
-rw-r--r-- | src/host/layer23/include/osmocom/bb/common/l23_app.h | 2 | ||||
-rw-r--r-- | src/host/layer23/src/misc/app_cell_log.c | 2 |
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 a37e1e0d..cb68d433 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 @@ enum { 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 f1596c39..43980e98 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]; |