Moved __cplusplus extern statement to include struct definitions as well.

This commit is contained in:
Paul Bakker 2013-06-27 14:29:21 +02:00
parent c5a79cca53
commit 407a0da160
30 changed files with 144 additions and 113 deletions

View file

@ -36,6 +36,10 @@
#define POLARSSL_ERR_ECP_BUFFER_TOO_SMALL -0x4F80 /**< The buffer is too small to write to. */
#define POLARSSL_ERR_ECP_GENERIC -0x4F00 /**< Generic ECP error */
#ifdef __cplusplus
extern "C" {
#endif
/**
* \brief ECP point structure (jacobian coordinates)
*
@ -134,11 +138,6 @@ ecp_group;
*/
#define POLARSSL_ECP_TLS_NAMED_CURVE 3 /**< ECCurveType's named_curve */
#ifdef __cplusplus
extern "C" {
#endif
/**
* \brief Initialize a point (as zero)
*/