fix compiler warnings for a5 tests

Signed-off-by: Max <max.suraev@fairwaves.co>
This commit is contained in:
Max 2015-04-06 16:17:49 +02:00 committed by Holger Hans Peter Freyther
parent 5fb265eaa7
commit a11994ddff
1 changed files with 4 additions and 0 deletions

View File

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