aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcommon/gsup_test_client.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-22 15:56:49 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-22 17:06:05 +0100
commitc01e90933fef6449f64db65a63590a6507bae34a (patch)
tree8757bfb928e630e32f40272509479c4137f161f0 /src/libcommon/gsup_test_client.c
parent6a8b9c70fceba57f624c9c23c97cbb27389e4584 (diff)
dissolve libcommon: move talloc ctx into msc_main.c, drop talloc_ctx.c
Drop tall_bsc_ctx; in mncc_sock_init(), talloc the mncc_sock_state from gsm_network. In tests or utils, move from using an extern tall_bsc_ctx to a local root context pointer. Change-Id: I92c252be1d1e7634f1653de47d37c99d77d9501c
Diffstat (limited to 'src/libcommon/gsup_test_client.c')
-rw-r--r--src/libcommon/gsup_test_client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcommon/gsup_test_client.c b/src/libcommon/gsup_test_client.c
index 3e88689e7..add98e47a 100644
--- a/src/libcommon/gsup_test_client.c
+++ b/src/libcommon/gsup_test_client.c
@@ -275,8 +275,6 @@ static void sig_cb(int sig)
}
}
-void *tall_bsc_ctx = NULL;
-
/* default categories */
static struct log_info_cat default_categories[] = {
};
@@ -294,7 +292,7 @@ int main(int argc, char **argv)
osmo_init_logging(&gsup_test_client_log_info);
- g_gc = gsup_client_create("GSUPTEST", server_host, server_port,
+ g_gc = gsup_client_create(NULL, "GSUPTEST", server_host, server_port,
gsupc_read_cb, NULL);