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.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bignum.h') diff --git a/bignum.h b/bignum.h index d9e06e2e..f1dad7e1 100644 --- a/bignum.h +++ b/bignum.h @@ -71,29 +71,29 @@ nettle_mpz_init_set_str_256_u(mpz_t x, /* Returns a uniformly distributed random number 0 <= x < 2^n */ void nettle_mpz_random_size(mpz_t x, - void *ctx, nettle_random_func random, + void *ctx, nettle_random_func *random, unsigned bits); /* Returns a number x, almost uniformly random in the range * 0 <= x < n. */ void nettle_mpz_random(mpz_t x, - void *ctx, nettle_random_func random, + void *ctx, nettle_random_func *random, const mpz_t n); void nettle_next_prime(mpz_t p, mpz_t n, unsigned count, unsigned prime_limit, - void *progress_ctx, nettle_progress_func progress); + void *progress_ctx, nettle_progress_func *progress); void nettle_random_prime(mpz_t p, unsigned bits, int top_bits_set, - void *ctx, nettle_random_func random, - void *progress_ctx, nettle_progress_func progress); + void *ctx, nettle_random_func *random, + void *progress_ctx, nettle_progress_func *progress); 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); -- cgit v1.2.1