mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Moved __cplusplus extern statement to include struct definitions as well.
This commit is contained in:
@ -47,6 +47,10 @@ typedef UINT32 uint32_t;
|
||||
// Regular implementation
|
||||
//
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief XTEA context structure
|
||||
*/
|
||||
@ -56,10 +60,6 @@ typedef struct
|
||||
}
|
||||
xtea_context;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief XTEA key schedule
|
||||
*
|
||||
|
Reference in New Issue
Block a user