Change in osmocom-bb[master]: trxcon/trxcon.h: do not expose pointer to trxcon_fsm instance

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Wed Jan 16 13:18:25 UTC 2019


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 <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190116/4345feeb/attachment.htm>


More information about the gerrit-log mailing list