aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-11-30 03:32:20 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-11-30 22:46:15 +0100
commit1263bc801749af648cf4fae790ddbdd348d87e69 (patch)
tree9631b02c5a5482230a1083f617e1ee4e5c6e5f88
parent9587759c71184710e635874b7a569cf7a97dbf1f (diff)
move gsm_cbfn to gsm_subscriber.h, the only user
(with two less line feeds) Change-Id: I375e5b021e643f6b1986ea35ebaf3a6d60e189f5
-rw-r--r--include/osmocom/msc/gsm_data.h6
-rw-r--r--include/osmocom/msc/gsm_subscriber.h4
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