From bec5464d9c4c6ffd2d7d3fb59f76d997903e10c9 Mon Sep 17 00:00:00 2001 From: Tom Cocagne Date: Wed, 30 Mar 2011 19:55:50 -0400 Subject: removed declaration warning for init_random by converting to empy macro --- _srp.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/_srp.c b/_srp.c index ff0e2ed..48e1c67 100644 --- a/_srp.c +++ b/_srp.c @@ -490,11 +490,8 @@ static void calculate_H_AMK( SRP_HashAlgorithm alg, unsigned char *dest, const B hash_final( alg, &ctx, dest ); } - -static void init_random() -{ - /* Python module calls random_seed during module initialization */ -} +/* Python module calls random_seed during module initialization */ +#define init_random() /*********************************************************************************************************** -- cgit v1.2.3