Skip to content

Commit bbe268e

Browse files
committed
Fix deprecation messages and unnecessary includes
1 parent 1ed7644 commit bbe268e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

etc/tune.c

-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
*/
55
#include "../tommath.h"
66
#include "../tommath_private.h"
7-
#include <stdint.h>
87
#include <time.h>
98
#include <inttypes.h>
10-
#include <limits.h>
119
#include <errno.h>
1210

1311
/*

tommath.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ mp_err mp_lcm(const mp_int *a, const mp_int *b, mp_int *c) MP_WUR;
517517
*/
518518
mp_err mp_root_u32(const mp_int *a, uint32_t b, mp_int *c) MP_WUR;
519519
MP_DEPRECATED(mp_root_u32) mp_err mp_n_root(const mp_int *a, mp_digit b, mp_int *c) MP_WUR;
520-
MP_DEPRECATED(mp_n_root_ex) mp_err mp_n_root_ex(const mp_int *a, mp_digit b, mp_int *c, int fast) MP_WUR;
520+
MP_DEPRECATED(mp_root_u32) mp_err mp_n_root_ex(const mp_int *a, mp_digit b, mp_int *c, int fast) MP_WUR;
521521

522522
/* special sqrt algo */
523523
mp_err mp_sqrt(const mp_int *arg, mp_int *ret) MP_WUR;
@@ -683,7 +683,7 @@ mp_err mp_ilogb(const mp_int *a, uint32_t base, mp_int *c) MP_WUR;
683683
/* c = a**b */
684684
mp_err mp_expt_u32(const mp_int *a, uint32_t b, mp_int *c) MP_WUR;
685685
MP_DEPRECATED(mp_expt_u32) mp_err mp_expt_d(const mp_int *a, mp_digit b, mp_int *c) MP_WUR;
686-
MP_DEPRECATED(mp_expt_d) mp_err mp_expt_d_ex(const mp_int *a, mp_digit b, mp_int *c, int fast) MP_WUR;
686+
MP_DEPRECATED(mp_expt_u32) mp_err mp_expt_d_ex(const mp_int *a, mp_digit b, mp_int *c, int fast) MP_WUR;
687687

688688
/* ---> radix conversion <--- */
689689
int mp_count_bits(const mp_int *a) MP_WUR;

0 commit comments

Comments
 (0)