From: Camm Maguire Date: Thu, 11 Aug 2022 17:16:42 +0000 (+0100) Subject: X-Git-Tag: archive/raspbian/2.7.1-4+rpi1~1^2~1^2~63 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5b8c841c5699a4163ba7850d1c1abd32c0bbc95d;p=gcl27.git TODO: Put a short summary on the line above and replace this paragraph with a longer explanation of this change. Complete the meta-information with other relevant fields (see below for details). To make it easier, the information below has been extracted from the changelog. Adjust it or drop it. gcl (2.6.12-63) unstable; urgency=medium * list_order.23 Gbp-Pq: Name list_order.24 --- diff --git a/h/gmp_wrappers.h b/h/gmp_wrappers.h index b76f147..1359fd8 100644 --- a/h/gmp_wrappers.h +++ b/h/gmp_wrappers.h @@ -148,6 +148,8 @@ MEM_GMP_CALL(1,gmp_ulint,mpz_popcount,0,mpz_t) /*MEM_GMP_CALL(2,void *,mpz_realloc,mpz_t,mp_size_t)*/ MEM_GMP_CALL(1,size_t,mpz_size,0,mpz_t) MEM_GMP_CALL(2,size_t,mpz_sizeinbase,0,mpz_t,int) +MEM_GMP_CALL(1,void,gmp_randinit_default,0,__gmp_randstate_struct *) +MEM_GMP_CALL(2,void,gmp_randseed_ui,0,__gmp_randstate_struct *,unsigned long int) /* FIXME: find a way to have this follow the convention in gmp.h*/ @@ -191,5 +193,7 @@ MEM_GMP_CALL(2,size_t,mpz_sizeinbase,0,mpz_t,int) /*#define __gmpz_realloc m__gmpz_realloc*/ #define __gmpz_size m__gmpz_size #define __gmpz_sizeinbase m__gmpz_sizeinbase +#define __gmp_randinit_default m__gmp_randinit_default +#define __gmp_randseed_ui m__gmp_randseed_ui #endif /*GMP_WRAPPERS_H*/