diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-11-30 03:32:20 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-11-30 22:46:15 +0100 |
commit | 1263bc801749af648cf4fae790ddbdd348d87e69 (patch) | |
tree | 9631b02c5a5482230a1083f617e1ee4e5c6e5f88 /include/osmocom | |
parent | 9587759c71184710e635874b7a569cf7a97dbf1f (diff) |
move gsm_cbfn to gsm_subscriber.h, the only user
(with two less line feeds)
Change-Id: I375e5b021e643f6b1986ea35ebaf3a6d60e189f5
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/msc/gsm_data.h | 6 | ||||
-rw-r--r-- | include/osmocom/msc/gsm_subscriber.h | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/include/osmocom/msc/gsm_data.h b/include/osmocom/msc/gsm_data.h index 30a3c795b..d3cb7d885 100644 --- a/include/osmocom/msc/gsm_data.h +++ b/include/osmocom/msc/gsm_data.h @@ -36,12 +36,6 @@ struct vlr_subscr; #define tmsi_from_string(str) strtoul(str, NULL, 10) -struct msgb; -typedef int gsm_cbfn(unsigned int hooknum, - unsigned int event, - struct msgb *msg, - void *data, void *param); - enum { MSC_CTR_LOC_UPDATE_TYPE_ATTACH, MSC_CTR_LOC_UPDATE_TYPE_NORMAL, diff --git a/include/osmocom/msc/gsm_subscriber.h b/include/osmocom/msc/gsm_subscriber.h index f8d8ef0e6..205106782 100644 --- a/include/osmocom/msc/gsm_subscriber.h +++ b/include/osmocom/msc/gsm_subscriber.h @@ -9,6 +9,10 @@ #include <osmocom/msc/gsm_data.h> struct ran_conn; +struct msgb; + +typedef int gsm_cbfn(unsigned int hooknum, unsigned int event, struct msgb *msg, + void *data, void *param); /* * Struct for pending channel requests. This is managed in the |