[PATCH] ipa: Declare all structs used

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 10:14:34 UTC 2014


A few declarations are missing.

This patch adds forward declarations for struct used for pointers
only and an include directive (osmocom/core/select.h) to get a full
definition of struct osmo_fd.

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

diff --git a/include/osmocom/abis/ipa.h b/include/osmocom/abis/ipa.h
index 19815f6..6f40a40 100644
--- a/include/osmocom/abis/ipa.h
+++ b/include/osmocom/abis/ipa.h
@@ -4,8 +4,13 @@
 #include <stdint.h>
 #include <osmocom/core/linuxlist.h>
 #include <osmocom/core/timer.h>
+#include <osmocom/core/select.h>
 #include <osmocom/gsm/ipa.h>
 
+struct e1inp_line;
+struct e1inp_ts;
+struct msgb;
+
 struct ipa_server_link {
 	struct e1inp_line		*line;
 	struct osmo_fd			ofd;
-- 
1.9.1




More information about the OpenBSC mailing list