Change in osmo-mgw[master]: mgcp_trunk: use enum type for trunk type variable

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

laforge gerrit-no-reply at lists.osmocom.org
Thu Jul 2 22:08:26 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/19109 )

Change subject: mgcp_trunk: use enum type for trunk type variable
......................................................................

mgcp_trunk: use enum type for trunk type variable

The trunk_type variable in struct mgcp_trunk is specified as an int,
however there is an enum mgcp_trunk_type specified. Lets use the enum as
type for trunk_type instead of int.

Related: OS#2659
Change-Id: I8e8b0cf448cfe67ad3b7caab24f301708d2a515f
---
M include/osmocom/mgcp/mgcp_trunk.h
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/include/osmocom/mgcp/mgcp_trunk.h b/include/osmocom/mgcp/mgcp_trunk.h
index 2bd55e6..c6a0997 100644
--- a/include/osmocom/mgcp/mgcp_trunk.h
+++ b/include/osmocom/mgcp/mgcp_trunk.h
@@ -11,7 +11,7 @@
 	struct mgcp_config *cfg;
 
 	int trunk_nr;
-	int trunk_type;
+	enum mgcp_trunk_type trunk_type;
 
 	char *audio_fmtp_extra;
 	int audio_send_ptime;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/19109
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I8e8b0cf448cfe67ad3b7caab24f301708d2a515f
Gerrit-Change-Number: 19109
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200702/5e82cdcf/attachment.htm>


More information about the gerrit-log mailing list