From d2cdf93b53ce3eb4714c3c97a5467e3dc455112b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 16 Nov 2017 17:11:28 +0100 Subject: mobile: Declare struct osmocom/vty to be self includeable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/host/layer23/include/osmocom/bb/mobile/app_mobile.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/host/layer23/include/osmocom') 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 83c07d65..704c9726 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); -- cgit v1.2.3