aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/mp/mp_shift.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-08-13 21:53:37 +0200
committerSimon Warta <[email protected]>2015-08-14 19:01:07 +0200
commitb4c59752c1ffd6e7217573e9a290276d92bd6235 (patch)
tree4e5f99989cfbc3999d7f84607804f0a82e72804f /src/lib/math/mp/mp_shift.cpp
parentb9c0077022400abc38d33ca3dfcfe32b9cf503e3 (diff)
Remove 'extern "C"' from src/lib/math/mp
C functions must not throw but Botan::bigint_divop throws (MSVC: warning C4297: 'Botan::bigint_divop' : function assumed not to throw an exception but does) * Move bigint_mul -> Botan::bigint_sqr * Move bigint_sqr -> Botan::bigint_sqr * Variable in unnamed namespace supersedes "static" keyword
Diffstat (limited to 'src/lib/math/mp/mp_shift.cpp')
-rw-r--r--src/lib/math/mp/mp_shift.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/math/mp/mp_shift.cpp b/src/lib/math/mp/mp_shift.cpp
index d58a0c809..1850888a0 100644
--- a/src/lib/math/mp/mp_shift.cpp
+++ b/src/lib/math/mp/mp_shift.cpp
@@ -10,8 +10,6 @@
namespace Botan {
-extern "C" {
-
/*
* Single Operand Left Shift
*/
@@ -133,5 +131,3 @@ void bigint_shr2(word y[], const word x[], size_t x_size,
}
}
-
-}