cosmetic: rename to sdp_audio_codecs_foreach()
Better match the pattern of sdp_audio_codecs_* instead of having
foreach_ in the front. Prepare for prepending osmo_ some day, because I
plan to move the SDP API to a separate library.
Change-Id: Ia96190e0bdb513886663be1c8c12be3b403b71c9
diff --git a/src/libmsc/codec_mapping.c b/src/libmsc/codec_mapping.c
index 8eea242..bb5968f 100644
--- a/src/libmsc/codec_mapping.c
+++ b/src/libmsc/codec_mapping.c
@@ -371,7 +371,7 @@
const struct sdp_audio_codec *codec;
int added = 0;
- foreach_sdp_audio_codec(codec, ac) {
+ sdp_audio_codecs_foreach(codec, ac) {
added += sdp_audio_codec_add_to_bearer_cap(bearer_cap, codec);
}
@@ -439,7 +439,7 @@
*scl = (struct gsm0808_speech_codec_list){};
- foreach_sdp_audio_codec(codec, ac) {
+ sdp_audio_codecs_foreach(codec, ac) {
int rc = sdp_audio_codec_to_speech_codec_list(scl, codec);
if (rc == -ENOSPC)
break;
@@ -472,7 +472,7 @@
.ch_indctr = GSM0808_CHAN_SPEECH,
};
- foreach_sdp_audio_codec(codec, ac) {
+ sdp_audio_codecs_foreach(codec, ac) {
const struct codec_mapping *m;
int i;
bool dup;