aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-12-14 03:51:34 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2017-12-14 03:51:34 +0100
commitfb21d9dde60d66ab4871ebb5b63daaecd555c47b (patch)
tree9ec14ac17db7177f606a626d1f071f062ab5bd22
parentc5981b34aff0fbe9801829f3368e5f8ac56fd26c (diff)
compiler warning: drop double 'const' in a_iface_tx_cipher_mode()
-rw-r--r--include/osmocom/msc/a_iface.h2
-rw-r--r--src/libmsc/a_iface.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/msc/a_iface.h b/include/osmocom/msc/a_iface.h
index 40ad9c8d1..f0da248b7 100644
--- a/include/osmocom/msc/a_iface.h
+++ b/include/osmocom/msc/a_iface.h
@@ -57,7 +57,7 @@ int a_iface_tx_dtap(struct msgb *msg);
/* Send Cipher mode command via A-interface */
int a_iface_tx_cipher_mode(const struct gsm_subscriber_connection *conn,
- int cipher, const const uint8_t *key, int len, int include_imeisv);
+ int cipher, const uint8_t *key, int len, int include_imeisv);
/* Page a subscriber via A-interface */
int a_iface_tx_paging(const char *imsi, uint32_t tmsi, uint16_t lac);
diff --git a/src/libmsc/a_iface.c b/src/libmsc/a_iface.c
index bdfef87a7..83ec82f11 100644
--- a/src/libmsc/a_iface.c
+++ b/src/libmsc/a_iface.c
@@ -164,7 +164,7 @@ int a_iface_tx_dtap(struct msgb *msg)
/* Send Cipher mode command via A-interface */
int a_iface_tx_cipher_mode(const struct gsm_subscriber_connection *conn,
- int cipher, const const uint8_t *key, int len, int include_imeisv)
+ int cipher, const uint8_t *key, int len, int include_imeisv)
{
/* TODO generalize for A- and Iu interfaces, don't name after 08.08 */
struct msgb *msg_resp;