From 6855b1ee160f46157697554c5b606bf35827d5d5 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Mon, 3 Mar 2014 12:51:12 +0100 Subject: [PATCH] make functions static to drop warnings --- tests/test_key_generation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_key_generation.c b/tests/test_key_generation.c index f724bac..e98035f 100644 --- a/tests/test_key_generation.c +++ b/tests/test_key_generation.c @@ -35,7 +35,7 @@ #include #include -void _test_128_bits_key(YKP_CONFIG *ykp, struct config_st *cfg) +static void _test_128_bits_key(YKP_CONFIG *ykp, struct config_st *cfg) { unsigned char empty[256]; @@ -51,7 +51,7 @@ void _test_128_bits_key(YKP_CONFIG *ykp, struct config_st *cfg) assert(memcmp(cfg->uid, empty, sizeof(cfg->uid)) == 0); } -void _test_160_bits_key(YKP_CONFIG *ykp, struct config_st *cfg) +static void _test_160_bits_key(YKP_CONFIG *ykp, struct config_st *cfg) { unsigned char empty[256]; -- 2.39.5