From: Klas Lindfors Date: Mon, 3 Mar 2014 11:51:12 +0000 (+0100) Subject: make functions static to drop warnings X-Git-Tag: v1.15.1~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6855b1ee160f46157697554c5b606bf35827d5d5;p=yubikey-personalization make functions static to drop warnings --- 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];