[PATCH] libosmo-sccp[master]: xua_msg: Make DXUA available to other XUA code

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Feb 13 03:09:47 UTC 2017


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>


More information about the gerrit-log mailing list