diff --git a/include/shared.h b/include/shared.h index b7ff2b548..326aa5c41 100644 --- a/include/shared.h +++ b/include/shared.h @@ -24,7 +24,6 @@ #include #endif -int sort_by_string (const void *p1, const void *p2); int sort_by_stringptr (const void *p1, const void *p2); bool overflow_check_u32_add (const u32 a, const u32 b); diff --git a/src/shared.c b/src/shared.c index db22662be..b23a047b3 100644 --- a/src/shared.c +++ b/src/shared.c @@ -97,14 +97,6 @@ static const char *HASH_CATEGORY_OTP_STR = "One-Time Password static const char *HASH_CATEGORY_PLAIN_STR = "Plaintext"; static const char *HASH_CATEGORY_FRAMEWORK_STR = "Framework"; -int sort_by_string (const void *p1, const void *p2) -{ - const char *s1 = (const char *) p1; - const char *s2 = (const char *) p2; - - return strcmp (s1, s2); -} - int sort_by_stringptr (const void *p1, const void *p2) { const char* const *s1 = (const char* const *) p1;