From d9fc6041e7cba69fe42419bafaeaaa7cfeb6d8c2 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 12 Jun 2019 15:49:03 +0700 Subject: core/utils: drop meaningless const from return value of osmo_luhn() Change-Id: I085da06f31a0a6862ae2ba041fafc134cc240f7e --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/utils.c b/src/utils.c index c38f5305..7b7178ca 100644 --- a/src/utils.c +++ b/src/utils.c @@ -993,7 +993,7 @@ char *osmo_str_toupper_c(const void *ctx, const char *src) * \param[in] in_len Count of digits to use for the input (14 for IMEI). * \returns checksum char (e.g. '3'); negative on error */ -const char osmo_luhn(const char* in, int in_len) +char osmo_luhn(const char* in, int in_len) { int i, sum = 0; -- cgit v1.2.3