diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-06-16 13:17:20 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2020-06-16 15:17:48 +0200 |
commit | 30856ca5cba3cc398809e1d1a78953694acc3410 (patch) | |
tree | 34f627c24beeb9c0fd0a25e147b2cd810927520f | |
parent | 83025bf1a6a97d2b3931ea3f0bebf63afd8ccd11 (diff) |
gsm0408_test: allow deprecated API
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gsm0408/gsm0408_test.c b/tests/gsm0408/gsm0408_test.c index 6fef1861..d2ae6f6c 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> |