[PATCH 1/2] ipa: Add forward declaration of struct osmo_fd

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/OpenBSC@lists.osmocom.org/.

Jacob Erlbeck jerlbeck at sysmocom.de
Mon Dec 22 09:58:45 UTC 2014


A pointer to struct osmo_fd is used in a few prototypes declared in
gsm/ipa.h, but is neither declared explicitly nor is such a
declaration reachable via the given include directives.

This patch adds a forward declaration of this type to ensure proper
compilation.

Sponsored-by: On-Waves ehf
---
 include/osmocom/gsm/ipa.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/osmocom/gsm/ipa.h b/include/osmocom/gsm/ipa.h
index 2878676..1227ee1 100644
--- a/include/osmocom/gsm/ipa.h
+++ b/include/osmocom/gsm/ipa.h
@@ -5,6 +5,8 @@
 #include <osmocom/core/msgb.h>
 #include <osmocom/gsm/tlv.h>
 
+struct osmo_fd;
+
 /* internal (host-only) data structure */
 struct ipaccess_unit {
 	uint16_t site_id;
-- 
1.9.1




More information about the OpenBSC mailing list