summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-11-16 17:11:28 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-12-03 12:58:52 +0000
commitd2cdf93b53ce3eb4714c3c97a5467e3dc455112b (patch)
tree897351a02ee7dd64d499be69b65fd5f5fa3b782f
parent229ea1ca5bce63cb52194dec1a932ba351f7aa64 (diff)
mobile: Declare struct osmocom/vty to be self includeable
In file included from settings.c:27:0: ../../include/osmocom/bb/mobile/app_mobile.h:10:42: warning: ‘struct osmocom_ms’ declared inside parameter list will not be visible outside of this definition or declaration int l23_app_init(int (*mncc_recv)(struct osmocom_ms *ms, int, void *), ^~~~~~~~~~ ../../include/osmocom/bb/mobile/app_mobile.h:14:26: warning: ‘struct osmocom_ms’ declared inside parameter list will not be visible outside of this definition or declaration int mobile_delete(struct osmocom_ms *ms, int force); Change-Id: I9348b3ed71a8490c03edda954402ab954f645b7c
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/app_mobile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/app_mobile.h b/src/host/layer23/include/osmocom/bb/mobile/app_mobile.h
index 83c07d6..704c972 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/app_mobile.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/app_mobile.h
@@ -5,6 +5,8 @@
extern char *config_dir;
+struct osmocom_ms;
+
int l23_app_init(int (*mncc_recv)(struct osmocom_ms *ms, int, void *),
const char *config_file, const char *vty_ip, uint16_t vty_port);
int l23_app_exit(void);