diff mbox

fix compiler warnings for a5 tests

Message ID 1428329869-21475-1-git-send-email-max.suraev@fairwaves.co
State Accepted, archived
Headers show

Commit Message

Max April 6, 2015, 2:17 p.m. UTC
Signed-off-by: Max <max.suraev@fairwaves.co>
---
 tests/a5/a5_test.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

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[] = {