From 9a391e2edf4df34224a6cb24fdb5d8d8f1c4ae3a Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 23 Jun 2017 02:34:08 +0200 Subject: [PATCH] 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 --- include/osmocom/gsm/gsm0808_utils.h | 2 +- src/gsm/libosmogsm.map | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osmocom/gsm/gsm0808_utils.h b/include/osmocom/gsm/gsm0808_utils.h index 57ba1713e..17a03f55a 100644 --- a/include/osmocom/gsm/gsm0808_utils.h +++ b/include/osmocom/gsm/gsm0808_utils.h @@ -50,6 +50,6 @@ uint8_t gsm0808_enc_cell_id_list(struct msgb *msg, 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 36cba3917..2da86496d 100644 --- a/src/gsm/libosmogsm.map +++ b/src/gsm/libosmogsm.map @@ -162,7 +162,7 @@ gsm0808_enc_encrypt_info; 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;