lynxis lazus has uploaded this change for review.

View Change

move talloc_asn1_ctx into tests/test_common.c

talloc_asn1_ctx is only used by tests and not connected
to iu_client in any way.

In preparation to remove iu_client.

Related: OS#5487
Change-Id: I79fe6d3e3ac92df70ec536d85d9cf1434252ba8c
---
M src/iu_client.c
M tests/test_common.c
2 files changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/43/40843/1
diff --git a/src/iu_client.c b/src/iu_client.c
index 75be457..62ba58f 100644
--- a/src/iu_client.c
+++ b/src/iu_client.c
@@ -79,7 +79,6 @@
};

void *talloc_iu_ctx;
-void *talloc_asn1_ctx;

/* Implement the extern asn_debug from libasn1c to indicate whether to print
* asn.1 debug messages (see libasn1c). */
diff --git a/tests/test_common.c b/tests/test_common.c
index 36d9954..8651852 100644
--- a/tests/test_common.c
+++ b/tests/test_common.c
@@ -72,6 +72,7 @@

static void *tall_hnb_ctx;
void *msgb_ctx;
+void *talloc_asn1_ctx;

int test_common_init(void)
{

To view, visit change 40843. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I79fe6d3e3ac92df70ec536d85d9cf1434252ba8c
Gerrit-Change-Number: 40843
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>