aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_subscriber.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/gsm_subscriber.c')
-rw-r--r--openbsc/src/gsm_subscriber.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/openbsc/src/gsm_subscriber.c b/openbsc/src/gsm_subscriber.c
index d91298ee6..297b8c8f6 100644
--- a/openbsc/src/gsm_subscriber.c
+++ b/openbsc/src/gsm_subscriber.c
@@ -36,8 +36,8 @@
#include <openbsc/db.h>
LLIST_HEAD(active_subscribers);
-static void *tall_subscr_ctx;
-static void *tall_sub_req_ctx;
+void *tall_subscr_ctx;
+void *tall_sub_req_ctx;
/*
* Struct for pending channel requests. This is managed in the
@@ -282,12 +282,3 @@ void subscr_put_channel(struct gsm_lchan *lchan)
if (lchan->subscr && !llist_empty(&lchan->subscr->requests))
subscr_send_paging_request(lchan->subscr);
}
-
-
-static __attribute__((constructor)) void on_dso_load_subscr(void)
-{
- tall_subscr_ctx = talloc_named_const(tall_bsc_ctx, 1, "subscriber");
-
- tall_sub_req_ctx = talloc_named_const(tall_bsc_ctx, 1,
- "subscr_request");
-}