[PATCH] fix compiler warnings for a5 tests

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Max max.suraev at fairwaves.co
Mon Apr 6 14:17:49 UTC 2015

Signed-off-by: Max <max.suraev at fairwaves.co>
 tests/a5/a5_test.c | 4 ++++
 1 file changed, 4 insertions(+)

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

More information about the baseband-devel mailing list