X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Flhash%2Flhash.c;h=801322beb640fd858887bb988147f19c8993ac6e;hp=8c649ad251791973972346ff549b02da09ab34f1;hb=a9be3af5ad4836f7e50f0546311ca90c717b861e;hpb=47339f6179fbefafc793c10b0411ed0365497d65 diff --git a/crypto/lhash/lhash.c b/crypto/lhash/lhash.c index 8c649ad251..801322beb6 100644 --- a/crypto/lhash/lhash.c +++ b/crypto/lhash/lhash.c @@ -107,7 +107,6 @@ const char *lh_version="lhash" OPENSSL_VERSION_PTEXT; #define UP_LOAD (2*LH_LOAD_MULT) /* load times 256 (default 2) */ #define DOWN_LOAD (LH_LOAD_MULT) /* load times 256 (default 1) */ -#ifndef NOPROTO #define P_CP char * #define P_CPP char *,char * @@ -115,16 +114,6 @@ static void expand(LHASH *lh); static void contract(LHASH *lh); static LHASH_NODE **getrn(LHASH *lh, char *data, unsigned long *rhash); -#else - -#define P_CP -#define P_CPP -static void expand(); -static void contract(); -static LHASH_NODE **getrn(); - -#endif - LHASH *lh_new(unsigned long (*h)(), int (*c)()) { LHASH *ret;