From 0d8da790df34bd2a844015c236413daf34a6544f Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Thu, 25 Jul 2019 19:12:23 +0700 Subject: gsm/gsm48.h: drop meaningless 'const' from gsm48_mi_to_string() Change-Id: I5eb17edadf89ac47b4ca86c9e822037f7c0e518e --- src/gsm/gsm48.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/gsm/gsm48.c b/src/gsm/gsm48.c index c97337b6..2d6deb56 100644 --- a/src/gsm/gsm48.c +++ b/src/gsm/gsm48.c @@ -741,8 +741,7 @@ int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi) * Depending on the MI type and amount of output buffer, this may return * the nr of written bytes, or the written strlen(), or the snprintf() * style strlen()-if-the-buffer-were-large-enough. */ -int gsm48_mi_to_string(char *string, const int str_len, const uint8_t *mi, - const int mi_len) +int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) { int rc; uint8_t mi_type; -- cgit v1.2.3