Neels Hofmeyr has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/38/12038/1

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: newchange
Gerrit-Change-Id: I375e5b021e643f6b1986ea35ebaf3a6d60e189f5
Gerrit-Change-Number: 12038
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <[email protected]>

Reply via email to