aboutsummaryrefslogtreecommitdiffstats
path: root/src/implementation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/implementation.c')
-rw-r--r--src/implementation.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/implementation.c b/src/implementation.c
index 863b755..9b93704 100644
--- a/src/implementation.c
+++ b/src/implementation.c
@@ -216,17 +216,6 @@ char *generatePassword(char *dest, int amount)
return dest;
}
-unsigned long hash(char *str)
-{
- unsigned long hash = 5381;
- char c;
-
- while( (c = *str++) )
- hash = ((hash << 5) + hash) + c; /* hash * 33 + c */
-
- return hash;
-}
-
static void clearStdinBuff()
{
char garbage;