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.orglaforge has submitted this change. ( 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(-)
Approvals:
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/include/osmocom/gprs/gprs_ns2.h b/include/osmocom/gprs/gprs_ns2.h
index c90d459..3b47b3c 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 6ddc58b..cf04924 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: 2
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
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/20201109/0f50939c/attachment.htm>