Change in libosmocore[master]: LCLS: use proper types for value_string wrappers

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

Max gerrit-no-reply at lists.osmocom.org
Wed Jan 9 16:17:18 UTC 2019


Max has submitted this change and it was merged. ( https://gerrit.osmocom.org/12367 )

Change subject: LCLS: use proper types for value_string wrappers
......................................................................

LCLS: use proper types for value_string wrappers

Change-Id: I0f47a610e06ac99bd60a5aad6f50f3658480165e
---
M include/osmocom/gsm/gsm0808.h
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Stefan Sperling: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/include/osmocom/gsm/gsm0808.h b/include/osmocom/gsm/gsm0808.h
index ac88748..782f3ec 100644
--- a/include/osmocom/gsm/gsm0808.h
+++ b/include/osmocom/gsm/gsm0808.h
@@ -219,13 +219,13 @@
 extern const struct value_string gsm0808_lcls_control_names[];
 extern const struct value_string gsm0808_lcls_status_names[];
 
-static inline const char *gsm0808_lcls_config_name(uint8_t val) {
+static inline const char *gsm0808_lcls_config_name(enum gsm0808_lcls_config val) {
 	return get_value_string(gsm0808_lcls_config_names, val);
 }
-static inline const char *gsm0808_lcls_control_name(uint8_t val) {
+static inline const char *gsm0808_lcls_control_name(enum gsm0808_lcls_control val) {
 	return get_value_string(gsm0808_lcls_control_names, val);
 }
-static inline const char *gsm0808_lcls_status_name(uint8_t val) {
+static inline const char *gsm0808_lcls_status_name(enum gsm0808_lcls_status val) {
 	return get_value_string(gsm0808_lcls_status_names, val);
 }
 

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0f47a610e06ac99bd60a5aad6f50f3658480165e
Gerrit-Change-Number: 12367
Gerrit-PatchSet: 4
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <stsp at stsp.name>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190109/a05f4117/attachment.htm>


More information about the gerrit-log mailing list