mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01:00
Moved __cplusplus extern statement to include struct definitions as well.
This commit is contained in:
parent
c5a79cca53
commit
407a0da160
30 changed files with 144 additions and 113 deletions
|
|
@ -44,6 +44,10 @@ typedef UINT32 uint32_t;
|
|||
// Regular implementation
|
||||
//
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief MD5 context structure
|
||||
*/
|
||||
|
|
@ -58,10 +62,6 @@ typedef struct
|
|||
}
|
||||
md5_context;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief MD5 context setup
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue