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

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Feb 13 14:36:37 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: xua_msg: Make DXUA available to other XUA code
......................................................................


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(-)

Approvals:
  Jenkins Builder: Verified
  Holger Freyther: Looks good to me, approved



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 9084513..8610621 100644
--- a/src/xua_msg.c
+++ b/src/xua_msg.c
@@ -28,7 +28,7 @@
 #include <errno.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: merged
Gerrit-Change-Id: Ie5b6492ead2c523de3969134291b2c3f434f92a2
Gerrit-PatchSet: 3
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder


More information about the gerrit-log mailing list