From ba98962d5fb20ff238c5c77fa0206264b8c0bd64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Mon, 25 Jun 2012 22:35:51 +0200 Subject: Consistently use foo_func *f (rather than foo_func f) for declaring function pointer arguments. --- bignum-random-prime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bignum-random-prime.c') diff --git a/bignum-random-prime.c b/bignum-random-prime.c index e0454a88..f172d6d8 100644 --- a/bignum-random-prime.c +++ b/bignum-random-prime.c @@ -260,7 +260,7 @@ miller_rabin_pocklington(mpz_t n, mpz_t nm1, mpz_t nm1dq, mpz_t a) void _nettle_generate_pocklington_prime (mpz_t p, mpz_t r, unsigned bits, int top_bits_set, - void *ctx, nettle_random_func random, + void *ctx, nettle_random_func *random, const mpz_t p0, const mpz_t q, const mpz_t p0q) @@ -345,8 +345,8 @@ _nettle_generate_pocklington_prime (mpz_t p, mpz_t r, the variant in fips186-3). */ void nettle_random_prime(mpz_t p, unsigned bits, int top_bits_set, - void *random_ctx, nettle_random_func random, - void *progress_ctx, nettle_progress_func progress) + void *random_ctx, nettle_random_func *random, + void *progress_ctx, nettle_progress_func *progress) { assert (bits >= 3); if (bits <= 10) -- cgit v1.2.1