diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-25 19:51:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-25 19:51:18 (GMT) |
commit | 0c8bc1d8c271d764a054cda2cb12bce5e42761dc (patch) | |
tree | de684560384fbbf9dfb5c65427fd5a2f31209579 /libtommath/bn_prime_tab.c | |
parent | 44f5f557eff96e7d4f2f5aede487c3ab6fe41063 (diff) | |
download | tcl-0c8bc1d8c271d764a054cda2cb12bce5e42761dc.zip tcl-0c8bc1d8c271d764a054cda2cb12bce5e42761dc.tar.gz tcl-0c8bc1d8c271d764a054cda2cb12bce5e42761dc.tar.bz2 |
More code cleanup related to libtommath 1.2.0: Adapt naming of (internal) symbols to new conventions. Remove deprecated declarations which were never implemented/included by Tcl.
Diffstat (limited to 'libtommath/bn_prime_tab.c')
-rw-r--r-- | libtommath/bn_prime_tab.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/libtommath/bn_prime_tab.c b/libtommath/bn_prime_tab.c index a6c07f8..6bd53fe 100644 --- a/libtommath/bn_prime_tab.c +++ b/libtommath/bn_prime_tab.c @@ -3,7 +3,7 @@ /* LibTomMath, multiple-precision integer library -- Tom St Denis */ /* SPDX-License-Identifier: Unlicense */ -const mp_digit ltm_prime_tab[] = { +const mp_digit s_mp_prime_tab[] = { 0x0002, 0x0003, 0x0005, 0x0007, 0x000B, 0x000D, 0x0011, 0x0013, 0x0017, 0x001D, 0x001F, 0x0025, 0x0029, 0x002B, 0x002F, 0x0035, 0x003B, 0x003D, 0x0043, 0x0047, 0x0049, 0x004F, 0x0053, 0x0059, @@ -44,18 +44,4 @@ const mp_digit ltm_prime_tab[] = { #endif }; -#if defined(__GNUC__) && __GNUC__ >= 4 -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" -const mp_digit *s_mp_prime_tab = ltm_prime_tab; -#pragma GCC diagnostic pop -#elif defined(_MSC_VER) && _MSC_VER >= 1500 -#pragma warning(push) -#pragma warning(disable: 4996) -const mp_digit *s_mp_prime_tab = ltm_prime_tab; -#pragma warning(pop) -#else -const mp_digit *s_mp_prime_tab = ltm_prime_tab; -#endif - #endif |