From 51abd93e4dddf4682f260d192b680be3ba1a0585 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 22 Feb 2021 11:58:37 +0000 Subject: change recognizing of commands; many printf -> one printf --- src/implementation.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/implementation.c') 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; -- cgit v1.2.3-18-g5258