[MERGED] libosmocore[master]: fix map entry and .h declaration for gsm0808_chan_type_to_sp...

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

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Jun 23 01:35:18 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: fix map entry and .h declaration for gsm0808_chan_type_to_speech_codec()
......................................................................


fix map entry and .h declaration for gsm0808_chan_type_to_speech_codec()

Recent commit 3149b0d076477303a38df735fe579b1b06ee17b2 adds function
gsm0808_chan_type_to_speech_codec() but adds a completely mismatching name in
libosmogsm.map, as well as a definition with a typo in the name.

Fix the entry in libosmogsm.map.

Add the missing 'c' in gsm0808_utils.h

Change-Id: I5a621fa5ef6b632eabbe224f3dd383eacaffb695
---
M include/osmocom/gsm/gsm0808_utils.h
M src/gsm/libosmogsm.map
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/gsm/gsm0808_utils.h b/include/osmocom/gsm/gsm0808_utils.h
index 57ba171..17a03f5 100644
--- a/include/osmocom/gsm/gsm0808_utils.h
+++ b/include/osmocom/gsm/gsm0808_utils.h
@@ -50,6 +50,6 @@
 				 const struct gsm0808_cell_id_list *cil);
 int gsm0808_dec_cell_id_list(struct gsm0808_cell_id_list *cil,
 			     const uint8_t *elem, uint8_t len);
-int gsm0808_chan_type_to_speech_code(uint8_t perm_spch);
+int gsm0808_chan_type_to_speech_codec(uint8_t perm_spch);
 int gsm0808_speech_codec_from_chan_type(struct gsm0808_speech_codec *sc,
 					uint8_t perm_spch);
diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map
index 36cba39..2da8649 100644
--- a/src/gsm/libosmogsm.map
+++ b/src/gsm/libosmogsm.map
@@ -162,7 +162,7 @@
 gsm0808_dec_encrypt_info;
 gsm0808_enc_cell_id_list;
 gsm0808_dec_cell_id_list;
-gsm0808_convert_to_speech_codec_type;
+gsm0808_chan_type_to_speech_codec;
 gsm0808_extrapolate_speech_codec;
 
 gsm0858_rsl_ul_meas_enc;

-- 
To view, visit https://gerrit.osmocom.org/3016
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5a621fa5ef6b632eabbe224f3dd383eacaffb695
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list