aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <max.suraev@fairwaves.co>2015-04-06 16:17:49 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-07 20:08:38 +0200
commita11994ddff1edbdb85ee9dc1ffd36f9b9834edf3 (patch)
treeec5b406d286b0bbc91420fbb8f024fdea6badc4c
parent5fb265eaa725928b59b44aa9bfe8959256014ba1 (diff)
fix compiler warnings for a5 tests
Signed-off-by: Max <max.suraev@fairwaves.co>
-rw-r--r--tests/a5/a5_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/a5/a5_test.c b/tests/a5/a5_test.c
index 0dbc6fb..6d7cc3c 100644
--- a/tests/a5/a5_test.c
+++ b/tests/a5/a5_test.c
@@ -8,6 +8,10 @@
#include <osmocom/core/utils.h>
#include <osmocom/gsm/a5.h>
+// make compiler happy
+void _a5_3(const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul, bool fn_correct);
+void _a5_4(const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul, bool fn_correct);
+
static const uint8_t key[] = { 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef };
static const uint32_t fn = 123456;
static const uint8_t dl[] = {