[PATCH 3/6] fix some "implicit declaration" warnings in osmo-nitb

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/.

Alexander Huemer alexander.huemer at xx.vu
Sun Sep 4 22:32:35 UTC 2011


---
 openbsc/include/openbsc/libbsc/handover_decision.h |    7 +++++++
 openbsc/include/openbsc/libctrl/control_if.h       |   13 +++++++++++++
 openbsc/include/openbsc/libmsc/rrlp.h              |    7 +++++++
 openbsc/include/openbsc/libmsc/token_auth.h        |    7 +++++++
 openbsc/src/osmo-nitb/bsc_hack.c                   |    4 ++++
 5 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 openbsc/include/openbsc/libbsc/handover_decision.h
 create mode 100644 openbsc/include/openbsc/libctrl/control_if.h
 create mode 100644 openbsc/include/openbsc/libmsc/rrlp.h
 create mode 100644 openbsc/include/openbsc/libmsc/token_auth.h

diff --git a/openbsc/include/openbsc/libbsc/handover_decision.h b/openbsc/include/openbsc/libbsc/handover_decision.h
new file mode 100644
index 0000000..81078b0
--- /dev/null
+++ b/openbsc/include/openbsc/libbsc/handover_decision.h
@@ -0,0 +1,7 @@
+#ifndef _HANDOVER_DECISION_H
+#define _HANDOVER_DECISION_H
+
+void on_dso_load_ho_dec(void);
+
+#endif /* _HANDOVER_DECISION_H */
+
diff --git a/openbsc/include/openbsc/libctrl/control_if.h b/openbsc/include/openbsc/libctrl/control_if.h
new file mode 100644
index 0000000..59c175b
--- /dev/null
+++ b/openbsc/include/openbsc/libctrl/control_if.h
@@ -0,0 +1,13 @@
+#ifndef _CONTROL_IF_H
+#define _CONTROL_IF_H
+
+#include <osmocom/core/write_queue.h>
+#include <openbsc/libctrl/control_cmd.h>
+#include <openbsc/libcommon/gsm_data.h>
+
+int ctrl_cmd_send(struct osmo_wqueue *queue, struct ctrl_cmd *cmd);
+int ctrl_cmd_handle(struct ctrl_cmd *cmd, void *data);
+int controlif_setup(struct gsm_network *gsmnet, uint16_t port);
+
+#endif /* _CONTROL_IF_H */
+
diff --git a/openbsc/include/openbsc/libmsc/rrlp.h b/openbsc/include/openbsc/libmsc/rrlp.h
new file mode 100644
index 0000000..c89402a
--- /dev/null
+++ b/openbsc/include/openbsc/libmsc/rrlp.h
@@ -0,0 +1,7 @@
+#ifndef _RRLP_H
+#define _RRLP_H
+
+void on_dso_load_rrlp(void);
+
+#endif /* _RRLP_H */
+
diff --git a/openbsc/include/openbsc/libmsc/token_auth.h b/openbsc/include/openbsc/libmsc/token_auth.h
new file mode 100644
index 0000000..47dc7aa
--- /dev/null
+++ b/openbsc/include/openbsc/libmsc/token_auth.h
@@ -0,0 +1,7 @@
+#ifndef _TOKEN_AUTH_H
+#define _TOKEN_AUTH_H
+
+void on_dso_load_token(void);
+
+#endif /* _TOKEN_AUTH_H */
+
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index 1150c58..dbd01d2 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -42,6 +42,10 @@
 #include <openbsc/vty.h>
 #include <openbsc/bss.h>
 #include <openbsc/libmsc/mncc.h>
+#include <openbsc/libmsc/token_auth.h>
+#include <openbsc/libbsc/handover_decision.h>
+#include <openbsc/libmsc/rrlp.h>
+#include <openbsc/libctrl/control_if.h>
 
 #include "../../bscconfig.h"
 
-- 
1.7.6.1





More information about the OpenBSC mailing list