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 --- include/osmocom/core/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/osmocom/core/utils.h b/include/osmocom/core/utils.h index f27359cb..f429ba6c 100644 --- a/include/osmocom/core/utils.h +++ b/include/osmocom/core/utils.h @@ -155,7 +155,7 @@ int osmo_print_n(char *buf, size_t bufsize, const char *str, size_t n); uint32_t osmo_isqrt32(uint32_t x); -const char osmo_luhn(const char* in, int in_len); +char osmo_luhn(const char* in, int in_len); /*! State for OSMO_STRBUF_APPEND() and OSMO_STRBUF_PRINTF(). See there for examples. */ struct osmo_strbuf { -- cgit v1.2.3