Skip to content

Commit 6631d42

Browse files
minadsjaeckel
authored andcommitted
remove __cplusplus stuff from tommath_private.h
tommath_private.h is an internal header which won't be included by a C++ source file.
1 parent 96b5552 commit 6631d42

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tommath_private.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66

77
#include "tommath.h"
88

9-
#ifdef __cplusplus
10-
extern "C" {
11-
#endif
12-
139
/* Hardening libtommath
1410
* --------------------
1511
*
@@ -222,8 +218,4 @@ MP_DEPRECATED(s_mp_toom_mul) mp_err mp_toom_mul(const mp_int *a, const mp_int *b
222218
MP_DEPRECATED(s_mp_toom_sqr) mp_err mp_toom_sqr(const mp_int *a, mp_int *b);
223219
MP_DEPRECATED(s_mp_reverse) void bn_reverse(unsigned char *s, int len);
224220

225-
#ifdef __cplusplus
226-
}
227-
#endif
228-
229221
#endif

0 commit comments

Comments
 (0)