osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/31583 )


Change subject: osmo_bsc_main: don't allocate talloc_ctr_ctx
......................................................................

osmo_bsc_main: don't allocate talloc_ctr_ctx

tall_ctr_ctx is not defined or used in osmo-bsc and apparently was only
exported by accident from libosmocore. It's not exported anymore since
libosmocore.map was introduced in I13169c00a59fb59513dfc598de5a71d094492422.

Fix for:
  /usr/bin/ld: osmo_bsc_main.o: in function `main':
  osmo_bsc_main.c:(.text+0x830d): undefined reference to `tall_ctr_ctx'
  /usr/bin/ld: osmo_bsc_main.c:(.text+0x8331): undefined reference to 
`tall_ctr_ctx'

Change-Id: I558e1ec722f3b1ff1f2e89b3cb97ed1dba9063e3
---
M src/osmo-bsc/osmo_bsc_main.c
1 file changed, 18 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/83/31583/1

diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
index d33cbc0..5ad13ca 100644
--- a/src/osmo-bsc/osmo_bsc_main.c
+++ b/src/osmo-bsc/osmo_bsc_main.c
@@ -830,7 +830,6 @@
 extern void *tall_paging_ctx;
 extern void *tall_fle_ctx;
 extern void *tall_tqe_ctx;
-extern void *tall_ctr_ctx;

 static int bsc_mgw_setup(void)
 {
@@ -881,7 +880,6 @@
        tall_paging_ctx = talloc_named_const(tall_bsc_ctx, 0, "paging_request");
        tall_fle_ctx = talloc_named_const(tall_bsc_ctx, 0, 
"bs11_file_list_entry");
        tall_tqe_ctx = talloc_named_const(tall_bsc_ctx, 0, "subch_txq_entry");
-       tall_ctr_ctx = talloc_named_const(tall_bsc_ctx, 0, "counter");

        osmo_init_logging2(tall_bsc_ctx, &log_info);
        osmo_stats_init(tall_bsc_ctx);

--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/31583
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I558e1ec722f3b1ff1f2e89b3cb97ed1dba9063e3
Gerrit-Change-Number: 31583
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to