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 <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <[email protected]>
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Stefan Sperling <[email protected]>

Reply via email to