Neels Hofmeyr has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/12038 )

Change subject: move gsm_cbfn to gsm_subscriber.h, the only user
......................................................................

move gsm_cbfn to gsm_subscriber.h, the only user

(with two less line feeds)

Change-Id: I375e5b021e643f6b1986ea35ebaf3a6d60e189f5
---
M include/osmocom/msc/gsm_data.h
M include/osmocom/msc/gsm_subscriber.h
2 files changed, 4 insertions(+), 6 deletions(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Vadim Yanitskiy: Looks good to me, but someone else must approve



diff --git a/include/osmocom/msc/gsm_data.h b/include/osmocom/msc/gsm_data.h
index 30a3c79..d3cb7d8 100644
--- a/include/osmocom/msc/gsm_data.h
+++ b/include/osmocom/msc/gsm_data.h
@@ -36,12 +36,6 @@

 #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 f8d8ef0..2051067 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

--
To view, visit https://gerrit.osmocom.org/12038
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I375e5b021e643f6b1986ea35ebaf3a6d60e189f5
Gerrit-Change-Number: 12038
Gerrit-PatchSet: 7
Gerrit-Owner: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Vadim Yanitskiy <[email protected]>

Reply via email to