aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-06-16 13:17:20 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2020-06-16 14:58:57 +0200
commit7e2e8c14abea29702a8d6c5abe63bf5d313894e1 (patch)
treede8ab378597e131222a8a5588cd872c1664ed4e9
parentb2d5a49f3a1a1ee68bfe9952d1583787f91df831 (diff)
gsm0408_test: allow deprecated APIneels/mscpool
This test knowingly calls deprecated functions -- allow that to squelch these warnings: warning: ‘gsm48_generate_lai’ is deprecated: Use gsm48_generate_lai2() instead, to not lose leading zeros in the MNC [-Wdeprecated-declarations] warning: ‘gsm48_decode_lai’ is deprecated: Use gsm48_decode_lai2() instead, to not lose leading zeros in the MNC [-Wdeprecated-declarations] Change-Id: Ifd618c1b9befa9c9ef0a338ab4aae2b0f796f4c2
-rw-r--r--tests/gsm0408/gsm0408_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gsm0408/gsm0408_test.c b/tests/gsm0408/gsm0408_test.c
index 6cd33812..8567aa84 100644
--- a/tests/gsm0408/gsm0408_test.c
+++ b/tests/gsm0408/gsm0408_test.c
@@ -18,6 +18,8 @@
*
*/
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
#include <string.h>
#include <stdio.h>
#include <stdlib.h>