diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-04-26 15:44:57 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-05-02 19:19:15 +0200 |
commit | 5a081bbb1d4b8974c160a2ddaf544a691c78e187 (patch) | |
tree | 2f3046b10162c43e6cb052f461b34aee089718ad /openbsc/include/openbsc/paging.h | |
parent | e188010512388acdb1408f3d1a0749c25c2c99e3 (diff) |
paging: Initialize structs internally to avoid a crash
The code to create the struct gsm_bts is in libcommon right now
and we can not call paging_init from there. Right now it appears
to be the easiest of doing the init internally.
Diffstat (limited to 'openbsc/include/openbsc/paging.h')
-rw-r--r-- | openbsc/include/openbsc/paging.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/paging.h b/openbsc/include/openbsc/paging.h index e8585473d..f4a7aab5b 100644 --- a/openbsc/include/openbsc/paging.h +++ b/openbsc/include/openbsc/paging.h @@ -53,9 +53,6 @@ struct gsm_paging_request { void *cbfn_param; }; -/* call once for every gsm_bts... */ -void paging_init(struct gsm_bts *bts); - /* schedule paging request */ int paging_request(struct gsm_network *network, struct gsm_subscriber *subscr, int type, gsm_cbfn *cbfn, void *data); |