Vadim Yanitskiy has uploaded this change for review. ( 
https://gerrit.osmocom.org/12590


Change subject: trxcon/trxcon.h: do not expose pointer to trxcon_fsm instance
......................................................................

trxcon/trxcon.h: do not expose pointer to trxcon_fsm instance

Change-Id: I37812573a33e090e6edb45713d3132cb43bd4ffb
---
M src/host/trxcon/trxcon.c
M src/host/trxcon/trxcon.h
2 files changed, 1 insertion(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/90/12590/1

diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index ab753d0..79b6ee4 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -75,7 +75,6 @@
 } app_data;

 void *tall_trxcon_ctx = NULL;
-struct osmo_fsm_inst *trxcon_fsm;

 static void print_usage(const char *app)
 {
@@ -185,6 +184,7 @@

 int main(int argc, char **argv)
 {
+       struct osmo_fsm_inst *trxcon_fsm;
        int rc = 0;

        printf("%s", COPYRIGHT);
diff --git a/src/host/trxcon/trxcon.h b/src/host/trxcon/trxcon.h
index 37be9f5..954ebc6 100644
--- a/src/host/trxcon/trxcon.h
+++ b/src/host/trxcon/trxcon.h
@@ -3,7 +3,6 @@
 #define GEN_MASK(state) (0x01 << state)

 extern const struct value_string trxcon_fsm_event_names[];
-extern struct osmo_fsm_inst *trxcon_fsm;
 extern struct osmo_fsm trxcon_fsm_def;

 enum trxcon_fsm_state_type {

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I37812573a33e090e6edb45713d3132cb43bd4ffb
Gerrit-Change-Number: 12590
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilira...@gmail.com>

Reply via email to