commit | 407a0da1607a5b9224b68cee2816a043d82fe563 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Thu Jun 27 14:29:21 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Jun 27 14:29:21 2013 +0200 |
tree | 1e622e068ab40cf1f774d349bf3f50d5e5ef5199 | |
parent | c5a79cca53e11fb4e264eb30b022d4516fa908e1 [diff] [blame] |
Moved __cplusplus extern statement to include struct definitions as well.
diff --git a/include/polarssl/bignum.h b/include/polarssl/bignum.h index afa9e61..b1c43b7 100644 --- a/include/polarssl/bignum.h +++ b/include/polarssl/bignum.h
@@ -158,6 +158,10 @@ #endif /* POLARSSL_HAVE_INT16 */ #endif /* POLARSSL_HAVE_INT8 */ +#ifdef __cplusplus +extern "C" { +#endif + /** * \brief MPI structure */ @@ -169,10 +173,6 @@ } mpi; -#ifdef __cplusplus -extern "C" { -#endif - /** * \brief Initialize one MPI *