summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Cocagne <devnull@localhost>2011-03-30 19:55:50 -0400
committerTom Cocagne <devnull@localhost>2011-03-30 19:55:50 -0400
commitbec5464d9c4c6ffd2d7d3fb59f76d997903e10c9 (patch)
treebfe60fa1a31e55c7f488c5f7fabc51a904edac91
parent3259c3ca42cdc387d239e941fc1dafd90574be9c (diff)
removed declaration warning for init_random by converting to empy macro
-rw-r--r--_srp.c7
1 files 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()
/***********************************************************************************************************