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/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/1804
xua_msg: Make DXUA available to other XUA code
Change-Id: Ie5b6492ead2c523de3969134291b2c3f434f92a2
---
M include/osmocom/sigtran/xua_msg.h
M src/xua_msg.c
2 files changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/04/1804/1
diff --git a/include/osmocom/sigtran/xua_msg.h b/include/osmocom/sigtran/xua_msg.h
index bb9486a..4c8fe83 100644
--- a/include/osmocom/sigtran/xua_msg.h
+++ b/include/osmocom/sigtran/xua_msg.h
@@ -42,6 +42,8 @@
};
+extern int DXUA;
+
struct xua_msg *xua_msg_alloc(void);
void xua_msg_free(struct xua_msg *msg);
diff --git a/src/xua_msg.c b/src/xua_msg.c
index 67dd6e2..21d37ad 100644
--- a/src/xua_msg.c
+++ b/src/xua_msg.c
@@ -27,7 +27,7 @@
#include <string.h>
static void *tall_xua;
-static int DXUA = -1;
+int DXUA = -1;
struct xua_msg *xua_msg_alloc(void)
{
--
To view, visit https://gerrit.osmocom.org/1804
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie5b6492ead2c523de3969134291b2c3f434f92a2
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>