mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Remove sort_by_string(), no longer needed
This commit is contained in:
parent
d5cd0a0030
commit
f9e4dc0db1
@ -24,7 +24,6 @@
|
||||
#include <sys/select.h>
|
||||
#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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user