mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-07 06:42:56 +03:00
Moved __cplusplus extern statement to include struct definitions as well.
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
|
||||
#include "polarssl/ecp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief ECDH context structure
|
||||
*/
|
||||
@@ -43,10 +47,6 @@ typedef struct
|
||||
}
|
||||
ecdh_context;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief Generate a public key
|
||||
*
|
||||
|
Reference in New Issue
Block a user