Change in libosmocore[master]: ns2: fixup gprs_ns2_prim_strs

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

lynxis lazus gerrit-no-reply at lists.osmocom.org
Wed Nov 4 02:07:55 UTC 2020


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/21041 )


Change subject: ns2: fixup gprs_ns2_prim_strs
......................................................................

ns2: fixup gprs_ns2_prim_strs

The gprs_ns2_prim_strs was merged to early. The renaming
in the last gerrit patchset wasn't done correct.

Change-Id: Ie8e1e003d70af48f2d647b2c2701d4fc0f17e307
---
M include/osmocom/gprs/gprs_ns2.h
M src/gb/gprs_ns2.c
2 files changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/41/21041/1

diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h
index ffc2ad8..bd18681 100644
--- a/include/osmocom/gprs/gprs_ns2.h
+++ b/include/osmocom/gprs/gprs_ns2.h
@@ -37,11 +37,11 @@
 	PRIM_NS_STATUS,
 };
 
-extern const struct value_string ns2_prim_strs[];
+extern const struct value_string gprs_ns2_prim_strs[];
 
 /*! Obtain a human-readable string for NS primitives */
 static inline const char *gprs_ns2_prim_str(enum gprs_ns2_prim val)
-{ return get_value_string(ns2_prim_strs, val); }
+{ return get_value_string(gprs_ns2_prim_strs, val); }
 
 /*! Osmocom NS primitives according to 48.016 5.2.2.4 Service primitves */
 enum gprs_ns2_congestion_cause {
diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c
index 403b8b7..b3d220f 100644
--- a/src/gb/gprs_ns2.c
+++ b/src/gb/gprs_ns2.c
@@ -206,7 +206,7 @@
 	{ 0, NULL }
 };
 
-const struct value_string ns2_prim_str[] = {
+const struct value_string gprs_ns2_prim_strs[] = {
 	{ PRIM_NS_UNIT_DATA,	"UNIT DATA" },
 	{ PRIM_NS_CONGESTION,	"CONGESTION" },
 	{ PRIM_NS_STATUS,	"STATUS" },

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ie8e1e003d70af48f2d647b2c2701d4fc0f17e307
Gerrit-Change-Number: 21041
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201104/921f5112/attachment.htm>


More information about the gerrit-log mailing list