argon2_pick_best_implementation() can be static

This commit is contained in:
Frank Denis 2019-06-10 20:07:54 +02:00
parent 95cf2e5da1
commit 53e20300e9
2 changed files with 1 additions and 2 deletions

View File

@ -518,7 +518,7 @@ argon2_initialize(argon2_instance_t *instance, argon2_context *context)
return ARGON2_OK; return ARGON2_OK;
} }
int static int
argon2_pick_best_implementation(void) argon2_pick_best_implementation(void)
{ {
/* LCOV_EXCL_START */ /* LCOV_EXCL_START */

View File

@ -251,7 +251,6 @@ void argon2_finalize(const argon2_context *context,
*/ */
typedef void (*fill_segment_fn)(const argon2_instance_t *instance, typedef void (*fill_segment_fn)(const argon2_instance_t *instance,
argon2_position_t position); argon2_position_t position);
int argon2_pick_best_implementation(void);
void argon2_fill_segment_avx512f(const argon2_instance_t *instance, void argon2_fill_segment_avx512f(const argon2_instance_t *instance,
argon2_position_t position); argon2_position_t position);
void argon2_fill_segment_avx2(const argon2_instance_t *instance, void argon2_fill_segment_avx2(const argon2_instance_t *instance,