Skip to content

Commit d449bd4

Browse files
authored
Merge pull request #187 from libtom/unused_mp_min_u32
mp_min_u32 is not used anywhere anymore, so it can be removed
2 parents 0539903 + a307667 commit d449bd4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

dep.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
$line = $';
118118
# now $& is the match, we want to skip over LTM keywords like
119119
# mp_int, mp_word, mp_digit
120-
if (!($& eq 'mp_digit') && !($& eq 'mp_word') && !($& eq 'mp_int') && !($& eq 'mp_min_u32')) {
120+
if (!($& eq 'mp_digit') && !($& eq 'mp_word') && !($& eq 'mp_int')) {
121121
my $a = $&;
122122
$a =~ tr/[a-z]/[A-Z]/;
123123
$a = 'BN_' . $a . '_C';

tommath.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ typedef uint64_t mp_word;
9696
/* otherwise the bits per digit is calculated automatically from the size of a mp_digit */
9797
#ifndef DIGIT_BIT
9898
# define DIGIT_BIT (((CHAR_BIT * MP_SIZEOF_MP_DIGIT) - 1)) /* bits per digit */
99-
typedef uint_least32_t mp_min_u32;
100-
#else
101-
typedef mp_digit mp_min_u32;
10299
#endif
103100

104101
#define MP_DIGIT_BIT DIGIT_BIT

0 commit comments

Comments
 (0)