summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-01-17 19:39:25 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-02-21 17:25:00 +0700
commitcda52534889dc7b9d2134a80b1785b72b2ed9ad0 (patch)
tree3459262b1e00bfa87510fcb7df57aea47e72b1e0 /src
parent54c80045715fb59030d1f88acc57db1c7e50b02b (diff)
trxcon/trxcon.h: do not expose pointer to trxcon_fsm instance
Diffstat (limited to 'src')
-rw-r--r--src/host/trxcon/trxcon.c2
-rw-r--r--src/host/trxcon/trxcon.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/host/trxcon/trxcon.c b/src/host/trxcon/trxcon.c
index f9cd3e6d..6b4c9898 100644
--- a/src/host/trxcon/trxcon.c
+++ b/src/host/trxcon/trxcon.c
@@ -75,7 +75,6 @@ static struct {
} app_data;
static void *tall_trxcon_ctx = NULL;
-struct osmo_fsm_inst *trxcon_fsm;
static void print_usage(const char *app)
{
@@ -185,6 +184,7 @@ static void signal_handler(int signal)
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 0b113915..22599315 100644
--- a/src/host/trxcon/trxcon.h
+++ b/src/host/trxcon/trxcon.h
@@ -6,7 +6,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 {