laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/35867?usp=email )
Change subject: mobile: cosmetic: fix '(ptr *) foo' shour be '(ptr *)foo' ......................................................................
mobile: cosmetic: fix '(ptr *) foo' shour be '(ptr *)foo'
Change-Id: Id6ed92b27c61ae9dfbb702a3abdc75e5daa8235d --- M src/host/layer23/src/mobile/vty_interface.c 1 file changed, 13 insertions(+), 4 deletions(-)
Approvals: pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved Jenkins Builder: Verified
diff --git a/src/host/layer23/src/mobile/vty_interface.c b/src/host/layer23/src/mobile/vty_interface.c index b0457e3..a4da22a 100644 --- a/src/host/layer23/src/mobile/vty_interface.c +++ b/src/host/layer23/src/mobile/vty_interface.c @@ -2695,7 +2695,7 @@
static int set_tch_voice_io_handler(struct vty *vty, enum tch_voice_io_handler val) { - struct osmocom_ms *ms = (struct osmocom_ms *) vty->index; + struct osmocom_ms *ms = (struct osmocom_ms *)vty->index; struct gsm_settings *set = &ms->settings;
/* Don't restart on unchanged value */ @@ -2718,7 +2718,7 @@ "External MNCC application (e.g. LCR) via MNCC socket\n" "Return TCH frame payload back to sender\n") { - struct osmocom_ms *ms = (struct osmocom_ms *) vty->index; + struct osmocom_ms *ms = (struct osmocom_ms *)vty->index; int val = get_string_value(tch_voice_io_handler_names, argv[0]);
if (val == TCH_VOICE_IOH_MNCC_SOCK) { @@ -2752,7 +2752,7 @@ "Texas Instruments format, used by Calypso based phones (e.g. Motorola C1xx)\n") { int val = get_string_value(tch_voice_io_format_names, argv[0]); - struct osmocom_ms *ms = (struct osmocom_ms *) vty->index; + struct osmocom_ms *ms = (struct osmocom_ms *)vty->index; struct gsm_settings *set = &ms->settings;
if (set->tch_voice.io_handler != TCH_VOICE_IOH_GAPK) { @@ -2804,7 +2804,7 @@
static int set_tch_data_io_handler(struct vty *vty, enum tch_data_io_handler val) { - struct osmocom_ms *ms = (struct osmocom_ms *) vty->index; + struct osmocom_ms *ms = (struct osmocom_ms *)vty->index; struct gsm_settings *set = &ms->settings;
/* Don't restart on unchanged value */