mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-11-02 09:33:20 +03:00
Moved __cplusplus extern statement to include struct definitions as well.
This commit is contained in:
@@ -35,6 +35,10 @@
|
||||
// Regular implementation
|
||||
//
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief ARC4 context structure
|
||||
*/
|
||||
@@ -46,10 +50,6 @@ typedef struct
|
||||
}
|
||||
arc4_context;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief ARC4 key schedule
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user